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 

time stamp register

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



Joined: 01 Mar 2006
Posts: 1

PostPosted: Wed Mar 01, 2006 5:20 pm    Post subject: time stamp register Reply with quote

Is there a tilme stamp register on R5900 processor ?

I have tried the classical mips instruction:

__asm__ __volatile__("mfc0 %0,$9; nop" : "=r" (dest))

but I get only an illgal instruction.

I dont have the Instruction set manual. Can someone help me ?
Back to top
View user's profile Send private message
cheriff
Regular


Joined: 23 Jun 2004
Posts: 262
Location: Sydney.au

PostPosted: Wed Mar 01, 2006 7:18 pm    Post subject: Re: time stamp register Reply with quote

antioche wrote:
Is there a tilme stamp register on R5900 processor ?

I have tried the classical mips instruction:

__asm__ __volatile__("mfc0 %0,$9; nop" : "=r" (dest))

but I get only an illgal instruction.

I dont have the Instruction set manual. Can someone help me ?

There are other threads that mention the asm to read the time stamp, but you may be interested on the EE's performance counters:
http://svn.ps2dev.org/listing.php?repname=ps2&path=%2Ftrunk%2Fps2Perf%2F&rev=0&sc=0
_________________
Damn, I need a decent signature!
Back to top
View user's profile Send private message
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