Processors
Processors (Intel® Core™, Intel® Xeon®, etc); processor utilities and programs (Intel® Processor Identification Utility, Intel® Extreme Tuning Utility, Intel® Easy Streaming Wizard, etc.)
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!
11669 Discussions

Hardware Performance Counter

NPund
New Contributor I
1,163 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
Community Manager
129 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
Community Manager
129 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
129 Views

Hello Wanner,

Yes, Intel Developer Zone was really helpful.

Thanks

Reply