We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,I've recently acquired a development board including Cortex-A55 CPUs. However, I'm not able to access the performance monitoring counters via PAPI. Digging further, I've seen that perfmon2 does not support the Cortex-A55 CPU at the moment. Is there any other way I could access the PMU counters from the source code?Best,
d.
Hi DNovo
I have moved your question to the Cortex-A forum.
Thanks
Oli from the Community team
Yes, just read or write it. Like this
/* PMU */ TFUNC write_PMCR mcr p15, #0, r0, c9, c12, #0 bx lr ENDFUNC write_PMCR
Hi 42Bastian SchickThanks for your answer. It turns out that perfmon2 is very easy to extend to support new architectures. So we've taken as bases the Cortex-A53 configuration files and replaced key parameters with information found in the Cortex-A55 reference manual. After that, we could access the performance monitoring counters from PAPI.
Fine, then you should mark the question as "Answered".