Psp profiler regs

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
crazyc
Posts: 408
Joined: Fri Jun 17, 2005 10:13 am

Psp profiler regs

Post by crazyc »

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

Code: Select all

********** 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: Select all

********** 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.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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.
Post Reply