3 $profiler_namespace =
'alternc';
4 $xhprof_data = xhprof_disable();
5 $xhprof_runs =
new XHProfRuns_Default();
6 $run_id = $xhprof_runs->save_run($xhprof_data, $profiler_namespace);
9 $profiler_url = sprintf(
'/xhprof/xhprof_html/index.php?run=%s&source=%s', $run_id, $profiler_namespace);
10 echo
'<p><h3><a href="'. $profiler_url .
'" target="_blank">Profiler output</a></h3></p>';