MLIB
|
Simple stopwatch timer (yet another one!) More...
#include <stopwatch.h>
Public Member Functions | |
void | start () |
Start the stopwatch. | |
void | stop () |
Stop the stopwatch. | |
std::chrono::steady_clock::duration | lap () |
Return elapsed time from start. | |
std::chrono::steady_clock::duration | end () |
Return total duration. | |
double | lap_msec () |
Return number of milliseconds elapsed from start. | |
double | end_msec () |
Return total duration in milliseconds between start and stop. | |
Simple stopwatch timer (yet another one!)
|
inline |
Return elapsed time from start.
The stopwatch continues to run
|
inline |
Return number of milliseconds elapsed from start.
The stopwatch continues to run