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

@ -123,7 +123,7 @@ class TemplateHandler
// store the starting time for debug information
if(__DEBUG__ == 3)
{
$start = getMicroTime();
$start = microtime(true);
}
// initiation
@ -184,7 +184,7 @@ class TemplateHandler
// store the ending time for debug information
if(__DEBUG__ == 3)
{
$GLOBALS['__template_elapsed__'] += getMicroTime() - $start;
$GLOBALS['__template_elapsed__'] += microtime(true) - $start;
}
return $output;