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 

How to implement IOP performance counters ?

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



Joined: 31 Aug 2004
Posts: 244
Location: Somewhere over the rainbow

PostPosted: Sun May 15, 2005 4:41 am    Post subject: How to implement IOP performance counters ? Reply with quote

Hello,

As the IOP is the palce where multiple threads share the CPU time (sound, file I/O, network,...) I'd like to implement a kind of performance counters debuglib as the EE provides... But I have no clue of how doing that in a good way... or as it could be done usually using the VBL for example (eh eh those stinky borders...)

Using IOP timers ? Using thread based interruptions (they exist ?)

Thanks for your ideas :D

Shazz
_________________
- TiTAN Art Division -
http://www.titandemo.org
Back to top
View user's profile Send private message Visit poster's website
ole



Joined: 08 May 2004
Posts: 92
Location: Czech Republic

PostPosted: Tue May 17, 2005 5:25 am    Post subject: Reply with quote

There is the int GetSystemTime(iop_sys_clock_t *sys_clock);
function defined in the iop/include/thbase.h....
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