A scoped timer. More...
#include <Timings.h>
Public Member Functions | |
| ScopedTimer (float &time, Timer::TimeUnit unit=Timer::Millisecond) | |
| Creates the scoped timer. | |
| ~ScopedTimer () | |
| Destroys the scoped timer and compute the elapsed time. | |
A scoped timer.
This class permits to measure time elapsed between this object creation and destruction
1.8.5