GoLang xhprof_sample_enable

request it (290)
GoLang replacement for PHP's xhprof_sample_enable [edit | history]



Do you know a GoLang replacement for PHP's xhprof_sample_enable? Write it!

PHP xhprof_sample_enable

PHP original manual for xhprof_sample_enable [ show | php.net ]

xhprof_sample_enable

(PECL xhprof >= 0.9.0)

xhprof_sample_enableStart XHProf profiling in sampling mode

Description

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.

Parameters

This function has no parameters.

Return Values

NULL

See Also