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 

Psp profiler regs

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



Joined: 17 Jun 2005
Posts: 410

PostPosted: Mon Feb 26, 2007 6:15 am    Post subject: Psp profiler regs Reply with quote

The results from the profiler regs don't look right. Here's what I get:

Code:
********** Profile ***********
systemck       :           6408277935 [cycles]
cpu ck         :           6408345725 [cycles]
stall          :            696109437 [cycles]
+(internal)    :           1738539180 [cycles]
+--(memory)    :               624055 [cycles]
+----(COPz)    :                    0 [cycles]
+----(VFPU)    :            313792267 [cycles]
sleep          :           1643294285 [cycles]
bus access     :               225434 [cycles]
uncached load  :               416216 [times]
uncached store :            718655235 [times]
cached load    :            317714012 [times]
cached store   :             16698656 [times]
I cache miss   :              8517318 [times]
D cache miss   :              3343994 [times]
D cache wb     :               746004 [times]
COP0 inst.     :              1535422 [inst.]
FPU  inst.     :                    0 [inst.]
VFPU inst.     :                    0 [inst.]
local bus      :                    0 [cycles]


I don't use the VFPU at all but use the FPU frequently. It looks like stall is wrong as this looks better.

Code:
********** Profile ***********
systemck       :           6408277935 [cycles]
cpu ck         :           6408345725 [cycles]
internal stall :            696109437 [cycles]
memory stall   :           1738539180 [cycles]
COPz stall     :               624055 [cycles]
VFPU stall     :                    0 [cycles]
sleep          :            313792267 [cycles]
bus access     :           1643294285 [cycles]
uncache load   :               225434 [cycles]
uncached store :               416216 [times]
cached load    :            718655235 [times]
cached store   :            317714012 [times]
I cache miss   :             16698656 [times]
D cache miss   :              8517318 [times]
D cache wb     :              3343994 [times]
COP0 inst.     :               746004 [times]
FPU  inst.     :              1535422 [inst.]
VFPU  inst.    :                    0 [inst.]
local bus      :                    0 [inst.]


Also in pspDebugProfilerClear addr+4 has to moved before _sw(0,addr) to avoid clearing the enable register.
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Mon Feb 26, 2007 6:53 am    Post subject: Reply with quote

Yah you are probably right, I took the strings from the kernel, but I probably didn't spend that long looking at the code itself, possible that stall is just the 4 stalls grouped together, and it would make more sense I guess ;) Ill fix it.
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 -> PSP 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