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?
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.