pspsdk-1.0+beta2
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(), fp, fwrite(), GMON_PROF_OFF, GMON_PROF_ON, GMONVERSION, gp, gmonhdr::hpc, i, gmonhdr::lpc, gmonhdr::ncnt, gmonhdr::profrate, gmonhdr::resv, SAMPLE_FREQ, sceKernelStopVTimer(), and gmonhdr::version.