Re: Intel CPU Performance Monitoring Events

From: Chris Trueman (ctrueman_at_wavesoftware.com)
Date: 12/23/04


Date: 23 Dec 2004 07:37:12 -0800

Can you re-post the code (or send it to me privately in an email?) My
machine crashed at the weekend and I lost everything.

Thanks.

Chris.

> I have posted some code (including source) in the attachments group.
> It's a performance monitor for the Intel P6 cpu. It shows how to
> access the performance counter registers from an assembler routine in
> a Delphi program. Also gives an example how to measure the performance
> of a simple routine (with parameters).
>
> Use with extreme caution. This code can crash and burn violently.
>
> Dennis, you are free to modify and use this code as part of the
> Fastcode project.



Relevant Pages