#include <StopWatch.h>
Public Member Functions | |
void | start () |
void | stop () |
double | seconds () const |
double | milliseconds () const |
Simple stopwatch class useful in measuring time intervals
double sptk::StopWatch::milliseconds | ( | ) | const |
Get difference between stopwatch start and stop times in seconds
double sptk::StopWatch::seconds | ( | ) | const |
Get difference between stopwatch start and stop times in seconds
void sptk::StopWatch::start | ( | ) |
Set stopwatch start time
void sptk::StopWatch::stop | ( | ) |
Set stopwatch stop time