-
I just wanted to ask if it is possible to count Floating Point Events using this tool as I couldn't find anything from the readme about this. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
PCM supports custom event programming. You can check which floating point events are suported by your CPU using pmu-query.py and then program them using pcm-core utility. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Q1: did you sign the driver? This link can be helpful. Alternatively use the third-party winring driver as described in the windows how-to. Q2: thanks for reporting this issue! For the Windows platform please replace ['pcm-core.exe -c'] with ['pcm-core.exe', '-c'] in pmu-query.py Q3: no changes are required. With pmu-query.py you should be abe to search for floating point events (search for "FP") and then pass the event descriptions to pcm-core.exe For example for my CPU:
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot @opcm IT WORKED!!! 😃 |
Beta Was this translation helpful? Give feedback.
-
@opcm |
Beta Was this translation helpful? Give feedback.
-
these are multpliers |
Beta Was this translation helpful? Give feedback.
Q1: did you sign the driver? This link can be helpful. Alternatively use the third-party winring driver as described in the windows how-to.
Q2: thanks for reporting this issue! For the Windows platform please replace ['pcm-core.exe -c'] with ['pcm-core.exe', '-c'] in pmu-query.py
Q3: no changes are required. With pmu-query.py you should be abe to search for floating point events (search for "FP") and then pass the event descriptions to pcm-core.exe
For example for my CPU:
.\pcm-core.exe -e cpu/umask=0x02,event=0xC7,name=FP_ARITH_INST_RETIRED.SCALAR_SINGLE/