delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 22 Mar 2012 10:49:56 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: clock_getres(CLOCK_REALTIME, .) may return an outdated and too high resolution |
Message-ID: | <20120322094956.GY18032@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4F6A5D42 DOT 3030108 AT t-online DOT de> <20120322093340 DOT GW18032 AT calimero DOT vinschen DOT de> <4F6AF34A DOT 4040301 AT lysator DOT liu DOT se> |
MIME-Version: | 1.0 |
In-Reply-To: | <4F6AF34A.4040301@lysator.liu.se> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |