(PECL xhprof >= 0.9.0)
xhprof_sample_enable — Start XHProf profiling in sampling mode
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.
This function has no parameters.
null
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.xhprof-sample-enable.php