Mail Archives: djgpp/1994/10/05/03:11:45
> It seems to me that the accuracy we can get from the time()
> function is only 1/18.2 second (about 55 mili-seconds), even
> though CLOCKS_PER_SEC is defined as 1000000 in time.h.
>
> I wonder if anyone knows that there is any way to get a more
> accurate time?
>
We had to reprogram the timer chip (8253) to have a faster interrupt rate. You
still need to call the original interrupt to have the DOS clock up to date.
On some hardware platform, this is not achievable as the disk drive actually
uses the chip timer output for some of its own timing!!!
- Raw text -