|
lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
High-resolution timer class. More...
#include <highres_timer.h>
Public Member Functions | |
| LEAN_MAYBE_EXPORT | highres_timer () |
| Constructs a new timer from the current system time. | |
| LEAN_MAYBE_EXPORT void | tick () |
| Updates the reference time stored by this timer. | |
| LEAN_MAYBE_EXPORT double | seconds () const |
| Gets the time that has elapsed since the last tick. | |
| LEAN_MAYBE_EXPORT double | milliseconds () const |
| Gets the time that has elapsed since the last tick. | |
High-resolution timer class.
1.7.6.1