|
Assignments
Assignments
|
#include <timer.h>
Public Member Functions | |
| Timer (void) | |
| double | elapsed (void) const |
| void | reset (void) |
Private Attributes | |
| std::chrono::high_resolution_clock::time_point | _start |
This class represents a timer.
|
inline |
The default constructor
|
inline |
This method returns the amount of time elapsed since the timer was constructed.
|
inline |
Reset the timer
|
private |
The time when the object was constructed