Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
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.