Re: pause/resume timer



John K Luebs writes:
On Win32, GetTickCount() will give better than microsecond
precision.

Bzzt. The docs say:
  The GetTickCount function retrieves the number of milliseconds that
  have elapsed since the system was started. It is limited to the
  resolution of the system timer. To obtain the system timer
  resolution, use the GetSystemTimeAdjustment function.

(And on my Win2k box, GetSystemTimeAdjustment() says that the clock is
incremented at 10.0144 millisecond intervals.)

--tml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]