Aether
SDL2 based UI Framework for NX
|
Small utility class to measure time. More...
#include <Timer.hpp>
Public Member Functions | |
Timer () | |
Create a new timer. Doesn't start the timer. See start(). | |
void | start () |
Starts the timer. Does nothing if already running. | |
void | stop () |
Stops the timer. Does nothing if not running. | |
double | elapsedMillis () |
Returns the number of milliseconds elapsed since the timer was started. | |
double | elapsedSeconds () |
Returns the number of seconds elapsed since the timer was started. | |
Small utility class to measure time.