Speed measurement object. More...
Inherits object.
Public Member Functions | |
None | start (self) |
Start (or re-start) the StopWatch. More... | |
Properties | |
mode = property | |
int: Mode for which the StopWatch was created (see cvb.StopWatchMode). | |
time_span = property | |
int: Gets the time (in ms), that has elapsed since start (or since the construction of the object, if has not been called yet). | |
Speed measurement object.
Create a StopWatch object.
By default creates a stop watch for multi - CPU architectures.
The stop watch is automatically started after creation.
mode : int Mode for the stop watch (see cvb.StopWatchMode).
None start | ( | self | ) |
Start (or re-start) the StopWatch.
This will reset the time span property to 0.0. All subsequent readouts of the time span property will give the time in milliseconds, that has elapsed since the last start or since the construction of the object.