Quantcast
Channel: ARM Connected Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 3617

ARM v8 PMU Cycle counter

$
0
0
All, When I am using the cycle counter in AArch64, I am not getting cycles properly. I have enabled read of pmccntr_el0 in user space using a small kernel module. I have sample code like: asm volatile("isb;mrs %0, pmccntr_el0" : "=r"(prev));

Viewing all articles
Browse latest Browse all 3617

Trending Articles