This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: clock_getres(CLOCK_REALTIME, .) may return an outdated and too high resolution
On Mar 22 10:39, Peter Rosin wrote:
> 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?
Oh, right. It depends on the hardware. Some commenter on
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724397%28v=vs.85%29.aspx
mentions that.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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