Author: Tom Kerrigan
Date: 17:59:47 01/25/00
Go up one level in this thread
With all due respect to Ernst and Dann, I think they're wrong. Context switches will hurt your program, but not very much. If you use clock() in Linux to time your program, you will [almost] always get exactly the same numbers, regardless of what else the computer is doing. I think NT is not designed to keep track of how much time each process uses, so it would be impossible for an NT clock() function to work correctly. I don't know what it returns, but I'm pretty sure that it isn't the elapsed time for the process. -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.