|
ST_engine
0.3-ALPHA
|
A timer used for keeping track of time in the main loop. More...
#include <timer.hpp>
Public Member Functions | |
| timer () | |
| double | time_since_start () const |
A timer used for keeping track of time in the main loop.
Uses a std::chrono::high_resolution_clock internally to provide quite accurate timekeeping.
| timer::timer | ( | ) |
| double timer::time_since_start | ( | ) | const |