Mail Archives: djgpp/1999/01/06/04:40:07
On Tue, 5 Jan 1999, Eric Rudd wrote:
> Under DOS, uclock() seems to work fine. Unfortunately, under Win95 uclock()
> exhibits errors on the 55-ms level, which I have been unable to completely
> diagnose. I sometimes even get *negative* times for events.
This is a known problem. `uclock' reprograms the timer chip to use a
different mode, since the default mode makes it hard, if not
impossible, to get consistent results. It seems that Windows 9X
sometimes reprograms the timer back.
You could use the VTD VxD to get accurate times on Windows 9X. I
think somebody posted the code to do that a while ago.
- Raw text -