Index: trunk/phase3/includes/debug/Debug.php |
— | — | @@ -108,7 +108,7 @@ |
109 | 109 | 'function' => $function, |
110 | 110 | 'master' => (bool) $isMaster, |
111 | 111 | 'time' > 0.0, |
112 | | - '_start' => microtime( true ), |
| 112 | + '_start' => wfTime(), |
113 | 113 | ); |
114 | 114 | |
115 | 115 | return count( self::$query ) - 1; |
— | — | @@ -124,7 +124,7 @@ |
125 | 125 | return; |
126 | 126 | } |
127 | 127 | |
128 | | - self::$query[$id]['time'] = microtime( true ) - self::$query[$id]['_start']; |
| 128 | + self::$query[$id]['time'] = wfTime() - self::$query[$id]['_start']; |
129 | 129 | unset( self::$query[$id]['_start'] ); |
130 | 130 | } |
131 | 131 | |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | $debugInfo = array( |
183 | 183 | 'mwVersion' => $wgVersion, |
184 | 184 | 'phpVersion' => PHP_VERSION, |
185 | | - 'time' => microtime( true ) - $wgRequestTime, |
| 185 | + 'time' => wfTime() - $wgRequestTime, |
186 | 186 | 'log' => self::$log, |
187 | 187 | 'debugLog' => self::$debug, |
188 | 188 | 'queries' => self::$query, |