rdpmc library

rdpmc library

Bild des Benutzers marcj

i'm trying to count the number of instructions retired between two points in a windows7 device driver.

is there sample code or a library function to achieve this, or do i have to __asm rdpmc ?

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers TimP (Intel)

You could insert VTune API calls to turn on and off counting at the points of interest.

Bild des Benutzers MrAnderson (Intel)

However, be reminded that the VTune analyzer does statistical profiling and will not give you an EXACT count of instructions retired between two points.

Regards, MrAnderson

Melden Sie sich an, um einen Kommentar zu hinterlassen.