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

High-resolution timer class. More...

#include <highres_timer.h>

List of all members.

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.

Detailed Description

High-resolution timer class.


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