I want to use CCNT register readings to profile short code segments. The code to read CCNT would be in C (if possible) or C inline assembly compiled under Linux by ccp. Can somebody provide an example? I found this in online documentation:
MRC p15, 0,…