hx3d
1
2D/3D Simple Game Framework
|
Simple chronometer. Measures time. More...
#include <chronometer.hpp>
Public Member Functions | |
Chronometer () | |
Create and start a chronometer. | |
void | reset () |
Reset the chronometer. | |
long | tick () |
Get the elapsed time as nanoseconds. More... | |
float | tickAsMillis () |
Get the elapsed time as milliseconds. More... | |
float | tickAsSeconds () |
Get the elapsed time as seconds. More... | |
Simple chronometer. Measures time.
Definition at line 31 of file chronometer.hpp.
long hx3d::Chronometer::tick | ( | ) |
Get the elapsed time as nanoseconds.
Definition at line 27 of file chronometer.cpp.
float hx3d::Chronometer::tickAsMillis | ( | ) |
Get the elapsed time as milliseconds.
Definition at line 32 of file chronometer.cpp.
float hx3d::Chronometer::tickAsSeconds | ( | ) |