Processors
Processors (Intel® Core™, Intel® Xeon®, etc); processor utilities and programs (Intel® Processor Identification Utility, Intel® Extreme Tuning Utility, Intel® Easy Streaming Wizard, etc.)
12752 Discussions

Hardware Performance Counter

NPund
New Contributor I
1,237 Views

Hi all,

Thank you for all the previous help as I am still new to performance counters.

So, I understood there are 8 general purpose counters and 3 fixed counters per core.

I can use rdmsr to read the counter values at addresses 0xc1, 0xc2 (for general) and 0x309,0x30a, 0x30b for fixed.

I also tried intel pcm from github but that supports only specific events which I can monitor.

So my question is:-

1. How can I map specific event to one of the general purpose counter and read it?

2. Will likwid be helpful in any way?

3. Is there any list of hardware events for guideline?

I have Kaby Lake microarchitecture.

Thanks

0 Kudos
3 Replies
idata
Employee
203 Views

Hello socfpga,

 

 

Thank you for joining the Intel Community Support.

 

 

In order to provide a detailed answer and assist you better, I recommend you to go to our Intel® Developer Zone. You can find additional information below:

 

 

Intel® Developer Zone

 

https://software.intel.com/en-us

 

 

Join the Intel® Developer Zone

 

https://software.intel.com/registration/?lang=en-us

 

 

Please let me know how it goes.

 

 

Wanner G.
idata
Employee
203 Views

Hello socfpga,

 

 

I am just following up on your inquiry.

 

 

Were you able to get additional support from our Intel® Developer Zone?

 

 

Wanner G.
NPund
New Contributor I
203 Views

Hello Wanner,

Yes, Intel Developer Zone was really helpful.

Thanks

Reply