Software Archive
Read-only legacy content
17061 Discussions

Accessing performance counters from application programs

wheirman
Beginner
375 Views

Hi,

I'd like to write an auto-tuning application that uses performance counter information. On a normal Xeon system I would use the perf events infrastructure, but as I understand it this is not available on Xeon Phi.

According to the Xeon Phi Performance Monitoring Units document ([1], section 1.3.1.1), it should be possible to use the rdpmc instruction, after the counters have been programmed using a ring 0 utility. The document also states that such a utility will be made available. Has this utility already been released? If not, is there a documented interface to the SEP driver used by VTune that I can use to achieve the same?

Thanks,

Wim

[1] http://software.intel.com/sites/default/files/forum/278102/intelr-xeon-phitm-pmu-rev1.01.pdf

0 Kudos
0 Replies
Reply