www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <00b201c1a4ac$935891f0$0200a8c0@lifelesswks> |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | "Lapo Luchini" <lapo AT lapo DOT it>, <cygwin AT cygwin DOT com> |
References: | <00af01c1a3de$7af04b40$60a407d5 AT BRAMSCHE> <3C4E6FD1 DOT 9060505 AT computer DOT org> <20020123172718 DOT GE6765 AT redhat DOT com> <3C4F01DF DOT 70AA4F00 AT lapo DOT it> <20020123190335 DOT GC18042 AT redhat DOT com> <3C4F64B4 DOT 380E84AF AT lapo DOT it> |
Subject: | Re: gettimeofday() does not returns usec resolution |
Date: | Thu, 24 Jan 2002 18:56:04 +1100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
X-OriginalArrivalTime: | 24 Jan 2002 07:56:05.0631 (UTC) FILETIME=[935620F0:01C1A4AC] |
=== ----- Original Message ----- From: "Lapo Luchini" <lapo AT lapo DOT it> To: <cygwin AT cygwin DOT com> Sent: Thursday, January 24, 2002 12:34 PM Subject: Re: gettimeofday() does not returns usec resolution > > Hmm. I do remember this patch. Can you submit this to cygwin-patches > > in the correct format: http://cygwin.com/contrib.html ? > > Given enough time, yes (never hacked that one, but it seems that only > winsup/cygwin/times.cc would need to be modified).. anyway of course I'm one of > the few that actually would like to have this feature so I guess there's no big > hurry. > > Of course the number reported by PerformanceTimer has an unknown offset with > system time (it appears to start at 0 at program start, but that's not clearly > specified) so I would have calculate an initial "offset" in the "old" way... this > would give 3-4 microsecond precision on "deltas" but an initial uncertainty of > the usual 15 milliseconds or so. As long as the calibration only occurs when someone is using gettimeofday, not on every cygwin1.dll load, then that sounds fine to me. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |