#include <test_fcl_utility.h>
Public Member Functions | |
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 () |
get elapsed time in second (same as getElapsedTime) More... | |
void | start () |
start timer More... | |
void | stop () |
stop the timer More... | |
Timer () | |
~Timer () | |
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... | |
Definition at line 77 of file test_fcl_utility.h.
fcl::test::Timer::Timer | ( | ) |
Definition at line 52 of file test_fcl_utility.cpp.
fcl::test::Timer::~Timer | ( | ) |
Definition at line 69 of file test_fcl_utility.cpp.
double fcl::test::Timer::getElapsedTime | ( | ) |
get elapsed time in milli-second
Definition at line 129 of file test_fcl_utility.cpp.
double fcl::test::Timer::getElapsedTimeInMicroSec | ( | ) |
get elapsed time in micro-second
Definition at line 97 of file test_fcl_utility.cpp.
double fcl::test::Timer::getElapsedTimeInMilliSec | ( | ) |
get elapsed time in milli-second
Definition at line 117 of file test_fcl_utility.cpp.
double fcl::test::Timer::getElapsedTimeInSec | ( | ) |
get elapsed time in second (same as getElapsedTime)
Definition at line 123 of file test_fcl_utility.cpp.
void fcl::test::Timer::start | ( | ) |
start timer
Definition at line 75 of file test_fcl_utility.cpp.
void fcl::test::Timer::stop | ( | ) |
stop the timer
Definition at line 86 of file test_fcl_utility.cpp.
|
private |
Definition at line 100 of file test_fcl_utility.h.
|
private |
ending time in micro-second
Definition at line 92 of file test_fcl_utility.h.
|
private |
Definition at line 99 of file test_fcl_utility.h.
|
private |
starting time in micro-second
Definition at line 91 of file test_fcl_utility.h.
|
private |
stop flag
Definition at line 93 of file test_fcl_utility.h.