xhprof_sample_enable
(PECL xhprof >= 0.9.0)
xhprof_sample_enable — 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.
警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
パラメータ
この関数にはパラメータはありません。
返り値
NULL
参考
- xhprof_sample_disable() - Stops xhprof sample profiler
- xhprof_enable() - Start xhprof profiler
- memory_get_usage() - PHP に割り当てられたメモリの量を返す
- getrusage() - 現在のリソース使用状況を取得する