X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fprofiler%2FProfilerSimple.php;h=805c60f4b4a80dd820ca9e44fe64e87ee757b2b8;hb=3195d2ab7ff55e2633ddcfa86188f61f1fd26184;hp=1d4873c6287f9395bc6be2471504a6fc1c824c26;hpb=fba4fdb7ed7b20e84ac86ffadce03acbc8691f85;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/profiler/ProfilerSimple.php b/includes/profiler/ProfilerSimple.php index 1d4873c628..805c60f4b4 100644 --- a/includes/profiler/ProfilerSimple.php +++ b/includes/profiler/ProfilerSimple.php @@ -96,11 +96,12 @@ class ProfilerSimple extends Profiler { $this->mCollated[$functionname] =& $entry; } $entry['cpu'] += $elapsedcpu; - $entry['cpu_sq'] += $elapsedcpu*$elapsedcpu; + $entry['cpu_sq'] += $elapsedcpu * $elapsedcpu; $entry['real'] += $elapsedreal; - $entry['real_sq'] += $elapsedreal*$elapsedreal; + $entry['real_sq'] += $elapsedreal * $elapsedreal; $entry['count']++; + $this->updateTrxProfiling( $functionname, $elapsedreal ); } }