Skip to content

Kernel module for debugging, returns profiling registers.

Notifications You must be signed in to change notification settings

mallgrab/psp-profiler-prx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

psp-profiler-prx

Kernel module for debugging, returns profiling registers.

make && make profilerLib.S

Move profiler.prx and profilerLib.S to your project.

In your project's Makefile include profilerLib.o to OBJS

Example:

SceUID modid;
PspDebugProfilerRegs regs;
int ret;
int fd;

modid = sceKernelLoadModule("profiler.prx", 0, NULL);
ret = sceKernelStartModule(modid, 0, NULL, &fd, NULL);

ProfileClear();
ProfileEnable();
ProfileGetRegs(&regs);

printf("D cache miss : %10u", regs.d_miss);

About

Kernel module for debugging, returns profiling registers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published