Author: Christophe Theron
Date: 15:48:55 01/13/00
Go up one level in this thread
On January 13, 2000 at 18:15:43, Tom Kerrigan wrote:
>On January 13, 2000 at 14:00:10, Christophe Theron wrote:
>
>>Be careful with milliseconds on a PC running Windows 9x. Actually the PC timer
>>has not changed since prehistory, and it is still producing interrupts at
>>18.2Hz. That means that the resolution of time of day under Windows 9x is more
>>than 50 milliseconds!
>>
>>Under Windows NT I remember this is 10ms. Much better, but stil not accurate to
>>the millisecond.
>
>I think the 18.2Hz deal needs to be maintained for backwards compatibility with
>DOS programs.
Yes, I think it is the reason.
>I'm almost 100% certain that GetTickCount() under Windows 95/98/NT has
>millisecond accuracy. It's possible that it skips a millisecond once in a while,
>but it is frequently incremented by 1.
Check this again Tom. Lex (author of Rebel-Tiger GUI) told me the same some time
ago. We both checked and realized that GetTickCount() has the same ~50ms
accuracy under Windows 95/98.
Under NT it might be ticking at 100Hz, I cannot check because I don't have NT.
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.