next up previous contents index
Next: 20.3.3 monstartup: Start profiling Up: 20.3 API reference Previous: 20.3.1 profil: Enabledisable,

20.3.2 moncontrol: enable or disable profiling

 

SYNOPSIS

#include <oskit/c/sys/gmon.h>

#include <oskit/c/sys/profile.h>

void moncontrol(int mode);

DESCRIPTION

If mode is non-zero (true), enables profiling. If mode is zero, disables profiling.

PARAMETERS

mode
Determines if profiling should be enabled or disabled



University of Utah Flux Research Group