Replies: 6 comments
-
Was this solved by now? If not, you can look at how opcm calls the pmu read function twice and calculates the difference, this should also work here for your use case. |
Beta Was this translation helpful? Give feedback.
-
Yes, I figured it out. Thanks for responding. |
Beta Was this translation helpful? Give feedback.
-
Hi @abasak24, would you mind sharing your code snippet on this? I have been wondering about the same thing. Thank you! =====================================
|
Beta Was this translation helpful? Give feedback.
-
Hi all, |
Beta Was this translation helpful? Give feedback.
-
Hi Varun, can you be a bit more precise? Do you want info on how to collect performance counters with pcm or do you want info on how to add pcm to your code to measure performance of certain functions/functionality? |
Beta Was this translation helpful? Give feedback.
-
Hi @ogbrugge ,
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am new to PCM and would like to understand some basic things.
I have a source code app.cpp and two functions inside it (func1 and func2). I want to obtain information such as what is the memory bandwidth utilization during each of the two functions.
Could you please help me understand how to achieve this? What do I need to include in app.cpp to access the PCM functions? Also, where can I learn about what PCM function helps me find the memory bandwidth utilization? Is there a tutorial/manual?
Thanks!
Abanti
Beta Was this translation helpful? Give feedback.
All reactions