Setting Performance Counters
Posted: Thu Feb 21, 2008 10:58 pm
Before i get shot down i'm a newbie, like real new.......
I wanted to measure the I$ misses and d$ misses of my application, and through the PCCR i realise i can, i just haven't got a clue on how to actually set what PCR0 and PCR1 are measuring i.e. event 6. (I've taken this value from the EE core UM).
I know that you can retrieve values through MTC0/MFC0, but is this how you go about setting what the counters measure.
I don't think i've done a good job describing what i'm trying to do, but i hope someone can decipher the garbage i have written!!
Thanks in advance.
I wanted to measure the I$ misses and d$ misses of my application, and through the PCCR i realise i can, i just haven't got a clue on how to actually set what PCR0 and PCR1 are measuring i.e. event 6. (I've taken this value from the EE core UM).
I know that you can retrieve values through MTC0/MFC0, but is this how you go about setting what the counters measure.
I don't think i've done a good job describing what i'm trying to do, but i hope someone can decipher the garbage i have written!!
Thanks in advance.