sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
ps2prof.h File Reference

Go to the source code of this file.

Functions

 __attribute__ ((__no_instrument_function__, __no_profile_instrument_function__)) void gprof_start(void)

Variables

int should_dump

Function Documentation

◆ __attribute__()

__attribute__ ( (__no_instrument_function__, __no_profile_instrument_function__) )
extern

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

Stop the profiler. 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

Definition at line 41 of file ps2prof.h.