emilib
|
Simple wall-time monotonic clock. More...
#include <timer.hpp>
Public Member Functions | |
Timer () | |
Will start the Timer. | |
double | reset () |
Returns seconds since last reset(). | |
double | secs () const |
unsigned long long | nanoseconds () const |
void | set_secs (double s) |
Functions for going back or forward in time: | |
void | set_nanoseconds (double s) |
Static Public Member Functions | |
static double | seconds_since_startup () |
Seconds since start of program. | |
Simple wall-time monotonic clock.