Public Member Functions | |
| Stopwatch () | |
| ~Stopwatch () | |
| void | start () |
| double | stop () |
Protected Attributes | |
| clock_t | startTime |
Definition at line 6 of file stopwatch.h.
| Stopwatch::Stopwatch | ( | ) | [inline] |
Constructor.
Definition at line 14 of file stopwatch.h.
| Stopwatch::~Stopwatch | ( | ) | [inline] |
Destructor
Definition at line 19 of file stopwatch.h.
| void Stopwatch::start | ( | ) |
Starts the stopwatch.
Definition at line 3 of file stopwatch.cpp.
| double Stopwatch::stop | ( | ) |
Stops the stopwatch, returning the time regitered from last start, in seconds.
Definition at line 7 of file stopwatch.cpp.
1.5.1-p1