'function' => $function,
'master' => (bool) $isMaster,
'time' > 0.0,
- '_start' => microtime( true ),
+ '_start' => wfTime(),
);
return count( self::$query ) - 1;
return;
}
- self::$query[$id]['time'] = microtime( true ) - self::$query[$id]['_start'];
+ self::$query[$id]['time'] = wfTime() - self::$query[$id]['_start'];
unset( self::$query[$id]['_start'] );
}
$debugInfo = array(
'mwVersion' => $wgVersion,
'phpVersion' => PHP_VERSION,
- 'time' => microtime( true ) - $wgRequestTime,
+ 'time' => wfTime() - $wgRequestTime,
'log' => self::$log,
'debugLog' => self::$debug,
'queries' => self::$query,