The wxStopWatch class allow you to measure time intervals.
Include files
<wx/timer.h>
See also
::wxStartTimer, ::wxGetElapsedTime, wxTimer
Members
wxStopWatch::wxStopWatch
wxStopWatch::Pause
wxStopWatch::Start
wxStopWatch::Resume
wxStopWatch::Time
wxStopWatch()
Constructor. This starts the stop watch.
void Pause()
Pauses the stop watch. Call wxStopWatch::Resume to resume time measuring again.
void Start(long milliseconds = 0)
(Re)starts the stop watch with a given initial value.
void Resume()
Resumes the stop watch after having been paused with wxStopWatch::Pause.
long Time()
Returns the time in milliseconds since the start (or restart) or the last call of wxStopWatch::Pause.