Remove unnecessary calls to getMicroTime()

This commit is contained in:
Kijin Sung 2016-01-08 14:05:48 +09:00
parent 83d86b8e6c
commit db87085967
9 changed files with 21 additions and 22 deletions

View file

@ -91,7 +91,7 @@ class XmlParser
// Save the compile starting time for debugging
if(__DEBUG__ == 3)
{
$start = getMicroTime();
$start = microtime(true);
}
$this->lang = Context::getLangType();
@ -143,7 +143,7 @@ class XmlParser
// Save compile starting time for debugging
if(__DEBUG__ == 3)
{
$GLOBALS['__xmlparse_elapsed__'] += getMicroTime() - $start;
$GLOBALS['__xmlparse_elapsed__'] += microtime(true) - $start;
}
return $output;