Tomas,

On Wed, May 30, 2007 at 03:08:28PM +0200, Tomas Kalibera wrote:
> 
> I have a question why pfmon does not measure the TSC counts on the IA32 
> platform, using the RDTSC instruction ? I've seen that earlier versions 
> of perfmon had a function that did this (get_timestamp). The nice thing 
> I like on TSC is that it keeps counting while the processor/processors 
> are halted or even powered down, so that it gives more precise 
> estimation of the wall clock time than the other tick counters (i.e. 
> GLOBAL_POWER_EVENTS:RUNNING).
> 
TSC is not a performance counter. It does not behave the same way.
Earlier versions of perfmon were using TSC to timestamp samples,
It was never used as a counter you can just read.

-- 
-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to