This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: questions about port and timer functions
- To: "Patrick J. Fay" <pfay at acl dot lanl dot gov>
- Subject: Re: questions about port and timer functions
- From: Rolf Welde Skeie <rws at inko dot no>
- Date: Mon, 19 Jan 1998 14:04:15 +0000
- CC: Benjamin Riefenstahl <benny at crocodial dot de>, gnu-win32 at cygnus dot com
- Organization: Scali AS
- References: <Pine.SGI.3.96.980117215840.4623A-100000@bluemountain.acl.lanl.gov>
- Reply-To: rws at inko dot no
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@scali.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@cygnus.com" with one line of text: "help".