Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4975 Discussions

MSR and PMC help needed

sabiroks
Beginner
341 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
Honored Contributor III
341 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
David_A_Intel1
Employee
341 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
Reply