Class for doing high precision timing. Actual resolution is platform dependent. More...
Public Member Functions | |
Timer () | |
Constructs a timer object. More... | |
double | time () const |
Returns the time. More... | |
double | lapTime () |
Returns the lap time. More... | |
void | restart () |
Restarts the timer. More... | |
Class for doing high precision timing. Actual resolution is platform dependent.
cee::Timer::Timer | ( | ) |
Constructs a timer object.
double cee::Timer::lapTime | ( | ) |
Returns the lap time.
void cee::Timer::restart | ( | ) |
Restarts the timer.
double cee::Timer::time | ( | ) | const |
Returns the time.