Query: xhprof_sample_disable
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XHPROF_SAMPLE_DISABLE(3) 1 XHPROF_SAMPLE_DISABLE(3) xhprof_sample_disable - Stops xhprof sample profilerSYNOPSISarray xhprof_sample_disable (void )DESCRIPTIONStops the sample mode xhprof profiler, andPARAMETERSThis function has no parameters.RETURN VALUESAn array of xhprof sample data, from the run.EXAMPLESExample #1 xhprof_sample_disable(3) example <?php xhprof_sample_enable(); for ($i = 0; $i <= 10000; $i++) { $a = strlen($i); $b = $i * $a; $c = rand(); } $xhprof_data = xhprof_sample_disable(); print_r($xhprof_data); ?> The above example will output something similar to: Array ( [1272935300.800000] => main() [1272935300.900000] => main() ) PHP Documentation Group XHPROF_SAMPLE_DISABLE(3)
Related Man Pages |
---|
array_chunk(3) - php |
ini_get_all(3) - php |
ob_list_handlers(3) - php |
print_r(3) - php |
xhprof_enable(3) - php |
Similar Topics in the Unix Linux Community |
---|
Rules for Homework & Coursework Questions Forum |
UNIX.COM 2017 Year End Summary |
New Code Tags (Syntax Highlighting) |
Please Welcome Ravinder Singh to the Moderation Team |