This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Performance monitor event numbers in Tegra2 (Cortex-A9 MPCore)

Note: This was originally posted on 16th July 2010 at http://forums.arm.com

I am trying to collect some data on a Tegra2 using the performance monitors. I have a question about some of the event numbers. I wanted to collect data on the number of instructions executed so I monitored event 0x08 since, according to the ARM Architecture Reference Manual ARMv7-A and ARMV7-R, this is supposed to be the number for the instruction count event. I wasn't getting anything other than 0. So, after looking around I found the Cortex-A9 Technical Reference Manual which states:

The Cortex-A9 processor implements the architectural events described in the ARM
Architecture Reference Manual, with the exception of:
0x08
Memory-reading instruction architecturally executed
0x0E
Procedure return, other than exception return, architecturally executed.



Which explains why I was getting 0 when monitoring event 0x08. But this states that this event is for mem reads. So which document is correct? If 0x08 is for mem reads, which event monitors instruction count? According to the architecture reference manual 0x06 is for mem reads.

thanks,

Tony
0