Subject: Re: questions about port and timer functions
From: [email-masked] (Benjamin Riefenstahl)

20 Jan 1998 02:59:53 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email-masked]
Cc: [email-masked]

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 ([email-masked])
Crocodial Communications EntwicklungsGmbH
Ophagen 16a, D-20257 Hamburg, Germany
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".