Measure elapsed time.
More...
#include <include/timer.h>
Measure elapsed time.
Definition at line 48 of file timer.h.
double Timer::getElapsedTime |
( |
| ) |
|
Get elapsed time in second.
Definition at line 123 of file timer.cpp.
double Timer::getElapsedTimeInMicroSec |
( |
| ) |
|
Get elapsed time in micro-second.
Definition at line 88 of file timer.cpp.
double Timer::getElapsedTimeInMilliSec |
( |
| ) |
|
Get elapsed time in milli-second.
Definition at line 109 of file timer.cpp.
double Timer::getElapsedTimeInSec |
( |
| ) |
|
Get elapsed time in second (same as getElapsedTime)
Definition at line 116 of file timer.cpp.
Stop the timer.
Definition at line 74 of file timer.cpp.
double Timer::endTimeInMicroSec |
|
private |
Store ending time in micro-second.
Definition at line 76 of file timer.h.
timeval Timer::startCount |
|
private |
double Timer::startTimeInMicroSec |
|
private |
Store starting time in micro-second.
Definition at line 74 of file timer.h.
Stop flag.
Definition at line 78 of file timer.h.
The documentation for this class was generated from the following files: