syntax of event specifiers - perfctr on Pentium 4

syntax of event specifiers - perfctr on Pentium 4

I know this forum is meant for question relating to VTune, but this seemed like the best forum for my question...

I'm trying to get hardware performance counters to work with perfctr and the prefex tool it provides. The syntax is quite strange though. For example, if you want to count the number of retired instructions in user-mode for program X:

perfex -e 0x00039000/0x04000204@0x8000000C

The syntax is somewhat described in http://archive.ncsa.uiuc.edu/lists/perftools/jan04/msg00001.html, but not clearly enough to start on my own.

Is there any documentation available on the syntax of these event specifiers? I only need basic stuff, i.e. instruction/cycle counters, cache miss rates, ...

I hope somebody here can help me, because Google isn't very helpfull.

1 Beitrag / 0 neu
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.