emilib
Public Member Functions | Static Public Member Functions | List of all members
emilib::Timer Class Reference

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.
 

Detailed Description

Simple wall-time monotonic clock.


The documentation for this class was generated from the following file: