projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f939aa3
)
phpdoc
author
Gunnar Wrobel
<p@rdus.de>
Thu, 9 Dec 2010 10:02:18 +0000
(11:02 +0100)
committer
Gunnar Wrobel
<p@rdus.de>
Mon, 13 Dec 2010 10:17:08 +0000
(11:17 +0100)
framework/Support/lib/Horde/Support/Timer.php
patch
|
blob
|
history
diff --git
a/framework/Support/lib/Horde/Support/Timer.php
b/framework/Support/lib/Horde/Support/Timer.php
index
9e56e47
..
2ee9175
100644
(file)
--- a/
framework/Support/lib/Horde/Support/Timer.php
+++ b/
framework/Support/lib/Horde/Support/Timer.php
@@
-23,11
+23,15
@@
class Horde_Support_Timer
{
/**
+ * Holds the starting timestamp.
+ *
* @var array
*/
protected $_start = array();
/**
+ * Current index for stacked timers.
+ *
* @var integer
*/
protected $_idx = 0;
@@
-44,6
+48,8
@@
class Horde_Support_Timer
/**
* Pop the latest timer start and return the difference with the current
* time.
+ *
+ * @return float The amount of time passed.
*/
public function pop()
{