Aether
SDL2 based UI Framework for NX
Public Member Functions | List of all members
Aether::Timer Class Reference

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.
 

Detailed Description

Small utility class to measure time.


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