forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Setting Performance Counters

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
el nino



Joined: 21 Feb 2008
Posts: 1

PostPosted: Thu Feb 21, 2008 10:58 pm    Post subject: Setting Performance Counters Reply with quote

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.
Back to top
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Tue Feb 26, 2008 7:50 am    Post subject: Reply with quote

There is a better description in the following document:

http://lukasz.dk/files/tx79architecture.pdf
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group