lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Member Functions
lean::time::timer Class Reference

Default timer class. More...

#include <timer.h>

List of all members.

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.

Detailed Description

Default timer class.


The documentation for this class was generated from the following file: