Author: Dave Gomboc
Date: 00:42:54 10/08/99
Go up one level in this thread
On October 07, 1999 at 23:29:05, Christophe Theron wrote: >That's a real problem on PC. > >The timer clicks 65536 times in 1 hour, which makes something close to 18.2 >times per second, or a 0.05s timer resolution. > >This numbers come from the prehistoric IBM PC 4.77MHz and have never been >changed in 20 years, for compatibility reasons. > >Even Windows programmers did not dare to change this. You have time functions in >Windows, they returns values in milliseconds, but still the resolution is about >0.05s!!! Use performance tick counts if you develop for Win32. (Actually, I am not 100% sure that Win98 supports them. :-( WinNT does for sure.) Their resolution is very good. Dave
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.