This is the mail archive of the
mailing list for the Cygwin project.
Re: clock_getres(CLOCK_REALTIME, .) may return an outdated and too high resolution
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?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple