xhprof_sample_disable
(PECL xhprof >= 0.9.0)
xhprof_sample_disable — Stops xhprof sample profiler
Descripción
NULL xhprof_sample_disable
( void
)
Stops the sample mode xhprof profiler, and
Warning
Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.
Parámetros
Esta función no tiene parámetros.
Valores devueltos
An array of xhprof sample data, from the run.
Ejemplos
Example #1 xhprof_sample_disable() 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);
?>
El resultado del ejemplo sería algo similar a:
Array
(
[1272935300.800000] => main()
[1272935300.900000] => main()
)
There are no user contributed notes for this page.
