pyre.timers.NativeTimer¶
Module Contents¶
-
class
pyre.timers.NativeTimer.NativeTimer(name, **kwds)¶ Bases:
pyre.timers.AbstractTimer.AbstractTimerTimer implementation that relies on the timer extension module
-
_timer¶
-
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
-