delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/01/13:51:17

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
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 <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT thing1-200
Reply-To: cygwin AT cygwin DOT com
To: Tim Prince <tprince AT computer DOT org>
cc: Peng Yu <yupeng_ AT hotmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: gettimeofday
In-Reply-To: <6.0.1.1.0.20040228230645.01f05dd8@imap.myrealbox.com>
Message-ID: <Pine.GSO.4.58.0403011246110.19531@thing1-200>
References: <BAY12-DAV48iixjnzi900000804 AT hotmail DOT com> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040228224720 DOT 01f4cda0 AT imap DOT myrealbox DOT com> <BAY12-DAV13gm5D6wjZ00006c26 AT hotmail 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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019