Index: branches/5.2.x/core/kernel/utility/debugger.php =================================================================== diff -u -N -r14706 -r14707 --- branches/5.2.x/core/kernel/utility/debugger.php (.../debugger.php) (revision 14706) +++ branches/5.2.x/core/kernel/utility/debugger.php (.../debugger.php) (revision 14707) @@ -1,6 +1,6 @@ getMoment(); + $timeStamp = microtime(true); } $this->ProfilerData[$key] = Array('begins' => $timeStamp, 'ends' => 5000, 'debuggerRowID' => count($this->Data)); if (isset($description)) { @@ -999,7 +999,7 @@ function profileFinish($key, $description = null, $timeStamp = null) { if (!isset($timeStamp)) { - $timeStamp = $this->getMoment(); + $timeStamp = microtime(true); } $this->ProfilerData[$key]['ends'] = $timeStamp; @@ -1064,16 +1064,10 @@ $this->ProfilerTotalCount[$total_key]++; } - function getMoment() - { - list($usec, $sec) = explode(' ', microtime()); - return ((float)$usec + (float)$sec); - } - function appendTimestamp($message) { global $start; - $time = $this->getMoment(); + $time = microtime(true); $from_last = $time - $this->LastMoment; $from_start = $time - $start; $this->appendHTML(sprintf("%s %.5f from last %.5f from start", $message, $from_last, $from_start));