| View previous topic :: View next topic |
| Author |
Message |
crazyc
Joined: 17 Jun 2005 Posts: 410
|
Posted: Mon Feb 26, 2007 6:15 am Post subject: Psp profiler regs |
|
|
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 |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Mon Feb 26, 2007 6:53 am Post subject: |
|
|
| 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 |
|
 |
|