Functions

pspprof.h File Reference

Go to the source code of this file.

Functions

void gprof_cleanup ()
 Writes gmon.out dump file and stops profiling.

Function Documentation

void gprof_cleanup (  ) 

Writes gmon.out dump file and stops profiling.

Called from atexit() handler; will dump out a host:gmon.out file with all collected information.

References fclose(), fopen(), fwrite(), GMON_PROF_ON, gp, gmonhdr::hpc, i, gmonhdr::lpc, gmonhdr::ncnt, gmonhdr::profrate, gmonhdr::resv, sceKernelStopVTimer(), and gmonhdr::version.