mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 14:52:24 +09:00
Remove unnecessary calls to getMicroTime()
This commit is contained in:
parent
83d86b8e6c
commit
db87085967
9 changed files with 21 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue