delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/23/16:01:00

From: rcrampton AT armature DOT com (Robin Crampton)
Subject: clock()
23 Jun 1998 16:01:00 -0700 :
Message-ID: <TFSLLXDC.cygnus.gnu-win32@armature.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

clock() is returning absolute rubbish.
gettimeofday() is fine.

While looking into why this might be, I came across this uncommented line   
in winsup/times.cc

 #define FACTOR (0x19db1ded53ea710LL)

Where does this magic number come from?  

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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