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 Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: thing1-200.fsi.com: ford owned process doing -bs Date: Mon, 1 Mar 2004 12:51:00 -0600 (CST) From: Brian Ford X-X-Sender: ford AT thing1-200 Reply-To: cygwin AT cygwin DOT com To: Tim Prince cc: Peng Yu , cygwin AT cygwin DOT com Subject: Re: gettimeofday In-Reply-To: <6.0.1.1.0.20040228230645.01f05dd8@imap.myrealbox.com> Message-ID: References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040228224720 DOT 01f4cda0 AT imap DOT myrealbox DOT com> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040228230645 DOT 01f05dd8 AT imap DOT myrealbox DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes On Sat, 28 Feb 2004, Tim Prince wrote: > The implementation used by cygwin doesn't set the fractional seconds > fields, so you must fall back on the Windows API for milliseconds. > and > The cygwin specific code in the g77 date_and_time() source code shows use > of the Windows API call to compensate for this lack in cygwin > gettimeofday(). > I think your information may be out-of-date. gettimeofday() appears to currently have approximately one to two millisecond resolution on XP. What do you see? -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/