xhprof_sample_enable

(PECL xhprof >= 0.9.0)
Start XHProf profiling in sampling mode
void xhprof_sample_enable ( void )

Starts profiling in sample mode, which is a lighter weight version of xhprof_enable(). 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 diagnostics.

Returns:

NULL

See also:

xhprof_sample_disable() -

xhprof_enable() -

memory_get_usage() -

getrusage() -

doc_php
2016-02-24 15:54:18
Comments
Leave a Comment

Please login to continue.