Setting Performance Counters

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
el nino
Posts: 1
Joined: Thu Feb 21, 2008 10:46 pm

Setting Performance Counters

Post by el nino »

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.
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

There is a better description in the following document:

http://lukasz.dk/files/tx79architecture.pdf
Post Reply