www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/20/13:52:45

From: rws AT inko DOT no (Rolf Welde Skeie)
Subject: Re: questions about port and timer functions
20 Jan 1998 13:52:45 -0800 :
Message-ID: <34C35D5F.867053A6.cygnus.gnu-win32@scali.no>
References: <Pine DOT SGI DOT 3 DOT 96 DOT 980117215840 DOT 4623A-100000 AT bluemountain DOT acl DOT lanl DOT gov>
Reply-To: rws AT inko DOT no
Mime-Version: 1.0
To: "Patrick J. Fay" <pfay AT acl DOT lanl DOT gov>
Cc: Benjamin Riefenstahl <benny AT crocodial DOT de>, gnu-win32 AT cygnus DOT com

Patrick J. Fay wrote:
> The routine below will time to the clock tick level (at least on
> a pentium pro). Note that you have to put in the clock frequency.

A sidenote: on a SMP you can get corrupt values as the clock is
associated with the *current* cpu you are running on. You have
to be sure that you always use the same cpu...
Any takers on a MT-safe implementation?
-- 
  Rolf Welde Skeie       Senior Design Engineer
_ mailto:rws AT scali DOT no __ http://www.scali.com ____
  Tel  (+47) 6384 6705   Scali AS
  Fax  (+47) 6384 4005   Hvamstubben 17     =    
  Home (+44) 2255 0822   2013 Skjetten    = =   =
  Mob  (+47) 9095 4406   NORWAY           = = = =
-
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