Using native events
Hello,
I would like to know how to add native events with PAPI_add_event(). For example, below is one of the outputs of papi_native_avail. How do I use it and use unit masks as well?
Also, can I use raw event numbers, taken directly from the manufacturer's manual? How should I do this?
Thank you
I would like to know how to add native events with PAPI_add_event(). For example, below is one of the outputs of papi_native_avail. How do I use it and use unit masks as well?
Also, can I use raw event numbers, taken directly from the manufacturer's manual? How should I do this?
Thank you
- Code: Select all
===============================================================================
Native Events in Component: perf_event
===============================================================================
| ix86arch::UNHALTED_CORE_CYCLES |
| count core clock cycles whenever the clock signal on the specific |
| core is running (not halted) |
| :e=0 |
| edge level (may require counter-mask >= 1) |
| :i=0 |
| invert |
| :c=0 |
| counter-mask in range [0-255] |
| :t=0 |
| measure any thread |
| :u=0 |
| monitor at user level |
| :k=0 |
| monitor at kernel level |
--------------------------------------------------------------------------------