X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=profileinfo.php;h=2329f6a41eb08cddb3f3661ccf7b7204938a0920;hb=b3fea2070b1566658c439d511f7fe79ed99c8ef9;hp=9ef91a44116c4a06944cddcb56576cbe23a59db7;hpb=f3a89bb4d0048756e9f7fb5765cf0d5c39db2943;p=lhc%2Fweb%2Fwiklou.git diff --git a/profileinfo.php b/profileinfo.php index 9ef91a4411..2329f6a41e 100644 --- a/profileinfo.php +++ b/profileinfo.php @@ -1,4 +1,30 @@ - Profiling data @@ -81,7 +83,7 @@ class profile_point { var $time; var $children; - function profile_point( $name, $count, $time, $memory ) { + function __construct( $name, $count, $time, $memory ) { $this->name = $name; $this->count = $count; $this->time = $time; @@ -103,7 +105,7 @@ class profile_point { else $ex = false; if ( !$ex ) { if ( count( $this->children ) ) { - $url = makeurl( false, false, $expand + array( $this->name() => true ) ); + $url = getEscapedProfileUrl( false, false, $expand + array( $this->name() => true ) ); $extet = " [+]"; } else $extet = ''; } else { @@ -112,7 +114,7 @@ class profile_point { if ( $name != $this->name() ) $e += array( $name => $ep ); - $extet = " [–]"; + $extet = " [–]"; } ?> @@ -231,31 +233,35 @@ else - - - - - - - - - + + + + + + + + + $_filter ? $_filter : $filter, + 'sort' => $_sort ? $_sort : $sort, + 'expand' => implode( ',', array_keys( $_expand ) ) + ) ) + ); } $points = array();
NameTime (%)Memory (%)CountCalls/reqms/callkb/callms/reqkb/reqNameTime (%)Memory (%)CountCalls/reqms/callkb/callms/reqkb/req