C++ Common
|
A simple code exection timer. More...
#include <Timer.hpp>
Public Member Functions | |
void | startTimer () |
start the timer | |
void | stopTimer () |
stop the timer | |
void | pauseTimer () |
pause the timer | |
void | resumeTimer () |
resumse a paused timer | |
double | totalPausedNano () |
return current pause time | |
double | seconds () |
get time in seconds More... | |
double | milliseconds () |
get time in milliseconds More... | |
double | microseconds () |
get time in microseconds More... | |
double | nanoseconds () |
get time in nanoseconds More... | |
A simple code exection timer.
exetimer allows one to start and stop timer, and get the time between start and stop calls in seconds, milliseconds, microseconds, or nanoseconds
|
inline |
get time in microseconds
returns the time between start_timer and stop_timer in microseconds
|
inline |
get time in milliseconds
returns the time between start_timer and stop_timer in milliseconds
|
inline |
get time in nanoseconds
returns the time between start_timer and stop_timer in nanoseconds
|
inline |
get time in seconds
returns the time between start_timer and stop_timer in seconds