Game Engine
Architected a C++ game engine with a runtime reflection system - employing Chain of
|
A simple wrapper class for doing ad-hoc profiling. More...
#include <Timer.h>
Public Member Functions | |
Timer () | |
double | Elapsed () const |
Retrieves the time since start or last reset. | |
void | Reset () |
Resets the start time. |
A simple wrapper class for doing ad-hoc profiling.
Usage (single measure): Timer t; /* operation to measure */ double time = t.Elapsed();
|
inline |
|
inline |
Retrieves the time since start or last reset.
|
inline |
Resets the start time.