A timer that measures ellapsed time in seconds. More...
#include <Timer.h>
Public Types | |
typedef double | Number |
The number type for seconds. | |
Public Member Functions | |
Timer () | |
Default constructor. | |
Timer (const Timer &x) | |
Copy constructor. | |
const Timer & | operator= (const Timer &x) |
Assignment operator. | |
~Timer () | |
Trivial destructor. | |
void | tic () |
Start/reset the timer. | |
Number | toc () |
Return the time in seconds since the last tic. |
A timer that measures ellapsed time in seconds.