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));
↧