Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: clock() in background

Author: Tom Kerrigan

Date: 00:02:45 01/26/00

Go up one level in this thread


On January 25, 2000 at 21:28:29, Ernst A. Heinz wrote:

>Tom, I am no NT guru but I cannot believe your suspicion.
>
>This would mean that NT inherently breaks the ANSI C standard.

Possibly. I think that making clock() work right is probably a low priority for
the NT designers.

Even if NT keeps track of how much time is spent in a process, it doesn't mean
the compiler library people have to write clock() correctly.

I distinctly remember that clock() in Visual C++ 2.0 returned something related
to the actual time and not the process's time.

Somebody may have fixed this, but I doubt it.

-Tom



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.