Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: CPU-usage in Crafty

Author: Robert Hyatt

Date: 11:04:32 01/16/02

Go up one level in this thread


On January 16, 2002 at 12:30:14, Benny Antonsson wrote:

>I suppose the "CPU: xx%" in Crafty is the CPU-usage ? Am I right ? And if so...
>how is this done in C++ ?


In unix, grab the total cpu time, and divide by the total elapsed time
(wall clock time), then multiply by 100.  What I do doesn't seem to work
so reliably in windows, for some reason.  In unix it works fine...



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.