Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

MSR and PMC help needed

sabiroks
Beginner
76 Views
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
TimP
Black Belt
76 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.
David_A_Intel1
Employee
76 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.

Reply