#include <Stopwatch.h>
Classes | |
struct | Time |
Public Member Functions | |
Stopwatch () | |
Construct a stopwatch class. | |
void | start () |
Start the stopwatch. | |
void | stop () |
Stop the stopwatch. | |
void | reset () |
Return the stopwatch to its original state. | |
Time | getTime () |
Get the Time struct containing times elapsed in seconds. |
This is a high fidelity stopwatch class that tries to choose the most accurate timer for your system.
Stopwatch::Time Stopwatch::getTime | ( | ) |