Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C4FE05A.5F8102DC@lapo.it> Date: Thu, 24 Jan 2002 11:22:18 +0100 From: Lapo Luchini X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: it,en,fr,es,ja MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gettimeofday() does not returns usec resolution 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> <00b201c1a4ac$935891f0$0200a8c0 AT lifelesswks> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > As long as the calibration only occurs when someone is using > gettimeofday, not on every cygwin1.dll load, then that sounds fine to > me. I wouldn't call it "calibration" is just a quick call to the old gettimeofday() and, yes, it's done only on the first call (the value is retanied in a static variable)... so maybe you have 1-2 usec lost on the first call. -- Lapo 'Raist' Luchini lapo AT lapo DOT it (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -- 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/