diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2008-12-17 20:26:15 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2008-12-17 20:26:15 +0300 |
commit | 0c3ef698010708ba0484aabd5a01db3b62f47365 (patch) | |
tree | e1b592d7358d3a01a1dc39cd8c3134d5ee551b2f /core/Timer.php | |
parent | fa3877ec785daf7d6aad35ca877611ff040c2ffd (diff) |
- adding Goal Tracking related goodness in core, and plugins
- goal table icon below datatable that have goal segmentation
- rss export icon below datatable
- cleaning code, refactoring, renaming goodness
- adding switch enable_detect_unique_visitor_using_settings that enables/disable heuristic based on config hash
- refactoring how plugins handle archiving for more clarity
git-svn-id: http://dev.piwik.org/svn/trunk@838 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Timer.php')
-rw-r--r-- | core/Timer.php | 4 |
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, '.', ''); } |