Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Timer.php')
-rw-r--r--core/Timer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Timer.php b/core/Timer.php
index 783dcff6ea..07c2adbd01 100644
--- a/core/Timer.php
+++ b/core/Timer.php
@@ -29,12 +29,12 @@ class Piwik_Timer
$this->memoryStart = $this->getMemoryUsage();
}
- public function getTime($decimals = 2)
+ public function getTime($decimals = 3)
{
return number_format($this->getMicrotime() - $this->timerStart, $decimals, '.', '');
}
- public function getTimeMs($decimals = 2)
+ public function getTimeMs($decimals = 3)
{
return number_format(1000*($this->getMicrotime() - $this->timerStart), $decimals, '.', '');
}