downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

xhprof_sample_enable> <xhprof_enable
[edit] Last updated: Fri, 17 May 2013

view this page in

xhprof_sample_disable

(PECL xhprof >= 0.9.0)

xhprof_sample_disableStoppe le profilage xhprof sur échantillon

Description

array xhprof_sample_disable ( void )

Stoppe le profilage xhprof sur échantillon.

Avertissement

Cette fonction n'est pas documentée et seule la liste des arguments est disponible.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Un tableau de données de l'échantillon xhprof, issues de son exécution.

Exemples

Exemple #1 Exemple avec xhprof_sample_disable()

<?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);
?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

Array
(
    [1272935300.800000] => main()
    [1272935300.900000] => main()
)


add a note add a note User Contributed Notes xhprof_sample_disable - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites