X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=profileinfo.php;h=b8dc15b8e9794da66cabd278b7bbe947fb08cdf9;hb=b0f5a521ad20a705c17f9210c9b8f4ecce431f4e;hp=afc05eb5c0bb924a19a744e8992929a55f0f33e9;hpb=d0ff1e57ff7fb7bf2d5b6b9a70e867c90cda6aa4;p=lhc%2Fweb%2Fwiklou.git
diff --git a/profileinfo.php b/profileinfo.php
index afc05eb5c0..b8dc15b8e9 100644
--- a/profileinfo.php
+++ b/profileinfo.php
@@ -1,4 +1,30 @@
-
name() ) . $extet ?>
|
- time() / $totaltime * 100 ) ?> |
- memory() / $totalmemory * 100 ) ?> |
+ time() / self::$totaltime * 100 ) ?> |
+ memory() / self::$totalmemory * 100 ) ?> |
count() ?> |
callsPerRequest() ), 2 ) ?> |
timePerCall() ), 2 ) ?> |
memoryPerCall() / 1024 ), 2 ) ?> |
- time() / $totalcount ), 2 ) ?> |
- memory() / $totalcount / 1024 ), 2 ) ?> |
+ time() / self::$totalcount ), 2 ) ?> |
+ memory() / self::$totalcount / 1024 ), 2 ) ?> |
children as $child ) {
- $child->display( $indent + 2 );
+ $child->display( $expand, $indent + 2 );
}
}
}
@@ -160,18 +166,15 @@ class profile_point {
}
function callsPerRequest() {
- global $totalcount;
- return @( $this->count / $totalcount );
+ return @( $this->count / self::$totalcount );
}
function timePerRequest() {
- global $totalcount;
- return @( $this->time / $totalcount );
+ return @( $this->time / self::$totalcount );
}
function memoryPerRequest() {
- global $totalcount;
- return @( $this->memory / $totalcount );
+ return @( $this->memory / self::$totalcount );
}
function fmttime() {
@@ -230,31 +233,35 @@ else