clock_getres(CLOCK_REALTIME, .) may return an outdated and too high resolution
Peter Rosin
peda@lysator.liu.se
Thu Mar 22 09:39:00 GMT 2012
Corinna Vinschen skrev 2012-03-22 10:33:
> On Mar 21 23:59, Christian Franke wrote:
>> BTW: GetSystemTimeAsFileTime() apparently provides the same
>> resolution (at least on Win7 x64). So the more complex use of
>> SharedUserData.InterruptTime may have less benefit than expected.
>
> On pre-Vista, the accuracy of GetSystemTimeAsFileTime is 15.625 ms,
> fixed. On Vista and later it seems to be 15ms or better, but its
> resultion is not constant anymore.
I have definite memories of an (albeit odd) XP laptop with 10 ms
accuracy. But that was years ago. Hmmm?
Cheers,
Peter
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list