PSPSDK 2024-12-24
Loading...
Searching...
No Matches
pspprof.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 __attribute__ ((__no_instrument_function__, __no_profile_instrument_function__)) void gprof_start(void)
 Start the profiler.
 

Variables

int should_dump
 

Function Documentation

◆ __attribute__()

Start the profiler.

Stop the profiler.

If the profiler is already running, this function stop previous one, and ignore the result. Finally, it initializes a new profiler session.

If the profiler is not running, this function does nothing.

Parameters
filenameThe name of the file to write the profiling data to.
should_dumpIf 1, the profiling data will be written to the file. If 0, the profiling data will be discarded.

Variable Documentation

◆ should_dump

int should_dump