pyre.timers.PythonTimer¶
Module Contents¶
-
class
pyre.timers.PythonTimer.PythonTimer(**kwds)¶ Bases:
pyre.timers.AbstractTimer.AbstractTimerA simple timer implementation based on the facilities from the time module in the python standard library
-
_start= 0¶
-
_accumulatedTime= 0¶
-
start(self)¶ Start the timer
-
stop(self)¶ Stop the timer
-
reset(self)¶ Reset the timer.
This sets the time accumulated by this timer to zero and disables it
-
read(self)¶ Return the total time this timer has been running
-
lap(self)¶ Read the total time this timer has been running without disturbing it
-