111
This commit is contained in:
@@ -74,7 +74,7 @@ class Http extends \Server\Abstracts\Http implements OnClose, OnConnect
|
|||||||
include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_lib.php";
|
include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_lib.php";
|
||||||
include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_runs.php";
|
include_once $XHPROF_ROOT . "/xhprof_lib/utils/xhprof_runs.php";
|
||||||
|
|
||||||
$xhprof_runs = new \XHProfRuns_Default();
|
$xhprof_runs = new \XHProfRuns_Default(storage('xhprof'));
|
||||||
$run_id = $xhprof_runs->save_run($xhprof_data, "xhprof_testing");
|
$run_id = $xhprof_runs->save_run($xhprof_data, "xhprof_testing");
|
||||||
|
|
||||||
echo "http://localhost/xhprof/xhprof_html/index.php?run={$run_id}&source=xhprof_testing\n";
|
echo "http://localhost/xhprof/xhprof_html/index.php?run={$run_id}&source=xhprof_testing\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user