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