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.
Hello, I'm trying to count the number of CPU cycles on my A53 core using PMU_CCNTR. I tried enabling the PMU using DEMCR->TRCENA bit, the writes to this register seem to halt the execution of my code. Can someone guide me through?
Hi there, I have moved your question to the Architectures and Processors forum. Many thanks.
Dear Rishikesh,
You could use code from Time measurement using Performance Monitors Register on Cortex-A72 - Architectures and Processors forum - Support forums - Arm Community
Best Regards,
Willy
Thanks Willy. It worked.