X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fprofiler%2FProfiler.php;h=2282a3af401b4e82fc753e39d47f4e8dba7e7360;hb=621350e4e8a0d8ed6250312319f905958cf3c95a;hp=41a9d60141930191aa8d0af4e9f338cf05f59681;hpb=0643e83df7453ea9e2fd09984e85d11a4c8c7270;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/profiler/Profiler.php b/includes/profiler/Profiler.php index 41a9d60141..2282a3af40 100644 --- a/includes/profiler/Profiler.php +++ b/includes/profiler/Profiler.php @@ -594,8 +594,8 @@ class Profiler { $prof .= sprintf( $format, substr( $fname, 0, $nameWidth ), $calls, - (float) ( $elapsed * 1000 ), - (float) ( $elapsed * 1000 ) / $calls, + (float)( $elapsed * 1000 ), + (float)( $elapsed * 1000 ) / $calls, $percent, $memory, ( $this->mMin[$fname] * 1000.0 ), @@ -665,7 +665,7 @@ class Profiler { foreach ( $this->mCollated as $name => $elapsed ) { $eventCount = $this->mCalls[$name]; - $timeSum = (float) ( $elapsed * 1000 ); + $timeSum = (float)( $elapsed * 1000 ); $memorySum = (float)$this->mMemory[$name]; $name = substr( $name, 0, 255 );