XHPROF_SAMPLE_ENABLE(3) 1 XHPROF_SAMPLE_ENABLE(3)
xhprof_sample_enable - Start XHProf profiling in sampling mode
SYNOPSIS
void xhprof_sample_enable (void )
DESCRIPTION
Starts profiling in sample mode, which is a lighter weight version of xhprof_enable(3). The sampling interval is 0.1 seconds, and samples
record the full function call stack. The main use case is when lower overhead is required when doing performance monitoring and diagnos-
tics.
PARAMETERS
This function has no parameters.
RETURN VALUES
NULL
SEE ALSO
xhprof_sample_disable(3), xhprof_enable(3), memory_get_usage(3), getrusage(3).
PHP Documentation Group XHPROF_SAMPLE_ENABLE(3)