remove Cpu from here too
authorDomas Mituzas <midom@users.mediawiki.org>
Sat, 12 Jan 2008 17:39:02 +0000 (17:39 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Sat, 12 Jan 2008 17:39:02 +0000 (17:39 +0000)
includes/ProfilerSimple.php

index 7239df9..d41e0a1 100644 (file)
@@ -74,7 +74,6 @@ class ProfilerSimple extends Profiler {
                                $this->debug( "$message\n" );
                        }
                        $entry =& $this->mCollated[$functionname];
-                       $elapsedcpu = $this->getCpuTime() - $octime;
                        $elapsedreal = microtime(true) - $ortime;
                        if (!is_array($entry)) {
                                $entry = array('real' => 0.0, 'count' => 0);