Author: Christophe Theron
Date: 01:16:57 10/08/99
Go up one level in this thread
On October 08, 1999 at 03:42:54, Dave Gomboc wrote:
>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
Not sure this works. In the experiences I have done, the timer resolution was
always 0.05s. I'm pressimistic about getting something more accurate under
Windows 9x.
This is not a big problem anyway...
Christophe
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.