Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
13 Views

MSR and PMC help needed

I am using Intel Pentium 4 1.60 Ghz,ubuntu. I just wanna know about the MSRs and how to access the same using Vtune. I am a newbie to Vtune
It would be a great help if you provide me the address to access MSRs. I wanna access Cache hits, Processor Cycles, Branch Prediction, Time Stamp counter..

Is there any possible ways to access without using Vtune??

0 Kudos
2 Replies
Highlighted
Black Belt
13 Views

The term MSR isn't usually used to refer to counters accessible to VTune.
In VTune, you ensure that the selected architecture matches your CPU and peruse the available event counter selections. Time and CPU cycles are default events under Event Based Sampling.
oprofile also supports P4 event counters.
0 Kudos
Highlighted
Employee
13 Views

The registers and their values are documented in the processor manuals (Vol. 3, I believe). Also, you can examine the code of the open source VTune analyzer driver kit, part the VTune analyzer for Linux, for examples of how to program the registers.

0 Kudos