Page 1 of 1

How to implement IOP performance counters ?

Posted: Sun May 15, 2005 4:41 am
by Shazz
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

Posted: Tue May 17, 2005 5:25 am
by ole
There is the int GetSystemTime(iop_sys_clock_t *sys_clock);
function defined in the iop/include/thbase.h....