#include <helpers.h>
Public Types | |
| using | Clock = std::chrono::high_resolution_clock |
| using | Time = Clock::time_point |
Public Member Functions | |
| double | elapsed () const |
| void | restart () |
| timer () | |
Private Member Functions | |
| Time | curTime () const |
Private Attributes | |
| Time | _start_time |
| using timer::Clock = std::chrono::high_resolution_clock |
| using timer::Time = Clock::time_point |