GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing docs.wxpython.org — wx.StopWatch — wxPython 4.3.2 Docs
|
Constructor. |
|
Pauses the stop watch. |
|
Resumes the stop watch which had been paused with |
|
(Re)starts the stop watch with a given initial value. |
|
Returns the time in milliseconds since the start (or restart) or the last call of |
|
Returns elapsed time in microseconds. |
Class API¶Possible constructors:
StopWatch() -> None
The StopWatch class allow you to measure time intervals.
Constructor.
This starts the stop watch.
None
Pauses the stop watch.
Call Resume to resume time measuring again.
If this method is called several times, Resume must be called the same number of times to really resume the stop watch. You may, however, call Start to resume it unconditionally.
None
(Re)starts the stop watch with a given initial value.
The stopwatch will always be running after calling Start , even if Pause had been called before and even if it had been called multiple times.
milliseconds (long)
None
Returns the time in milliseconds since the start (or restart) or the last call of Pause .
int
See also