#include <utility.h>
Public Member Functions | |
BenchTimer () | |
double | getElapsedTime () |
get elapsed time in milli-second More... | |
double | getElapsedTimeInMicroSec () |
get elapsed time in micro-second More... | |
double | getElapsedTimeInMilliSec () |
get elapsed time in milli-second More... | |
double | getElapsedTimeInSec () |
void | start () |
start timer More... | |
void | stop () |
stop the timer More... | |
~BenchTimer () | |
Private Attributes | |
timeval | endCount |
double | endTimeInMicroSec |
ending time in micro-second More... | |
timeval | startCount |
double | startTimeInMicroSec |
starting time in micro-second More... | |
int | stopped |
stop flag More... | |
hpp::fcl::BenchTimer::BenchTimer | ( | ) |
Definition at line 18 of file utility.cpp.
hpp::fcl::BenchTimer::~BenchTimer | ( | ) |
Definition at line 33 of file utility.cpp.
double hpp::fcl::BenchTimer::getElapsedTime | ( | ) |
get elapsed time in milli-second
Definition at line 80 of file utility.cpp.
double hpp::fcl::BenchTimer::getElapsedTimeInMicroSec | ( | ) |
get elapsed time in micro-second
Definition at line 54 of file utility.cpp.
double hpp::fcl::BenchTimer::getElapsedTimeInMilliSec | ( | ) |
get elapsed time in milli-second
Definition at line 72 of file utility.cpp.
double hpp::fcl::BenchTimer::getElapsedTimeInSec | ( | ) |
get elapsed time in second (same as getElapsedTime)
Definition at line 76 of file utility.cpp.
void hpp::fcl::BenchTimer::start | ( | ) |
start timer
Definition at line 35 of file utility.cpp.
void hpp::fcl::BenchTimer::stop | ( | ) |
stop the timer
Definition at line 44 of file utility.cpp.
|
private |
|
private |