delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/20/02:59:53

From: benny AT crocodial DOT de (Benjamin Riefenstahl)
Subject: Re: questions about port and timer functions
20 Jan 1998 02:59:53 -0800 :
Message-ID: <34C25409.16FBC9AE.cygnus.gnu-win32@crocodial.de>
References: <Pine DOT SGI DOT 3 DOT 96 DOT 980117215840 DOT 4623A-100000 AT bluemountain DOT acl DOT lanl DOT gov>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com
Cc: herzer AT rz-nov5 DOT rz DOT fh-weingarten DOT de

Hi Patrick,


Patrick J. Fay wrote:
[suggests asm( "rdtsc" ) for timing]

Yeah, right I forgot about that one. That is Pentium only IRC, but than
Pentiums are fairly standard these days and certainly o.k. for lab
tests. How do you calculate that frequency constant? Is there a direct
method to determine that?

There is also QueryPerformanceCounter() which is probably just a wrapper
around rdtsc. It has the additional advantage that you can use
QueryPerformanceFrequency() to get at the frequency.


so long, benny
======================================
Benjamin Riefenstahl (benny AT crocodial DOT de)
Crocodial Communications EntwicklungsGmbH
Ophagen 16a, D-20257 Hamburg, Germany
-
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