#include <test_fcl_utility.h>
Public Member Functions | |
double | getElapsedTime () |
get elapsed time in milli-second | |
double | getElapsedTimeInMicroSec () |
get elapsed time in micro-second | |
double | getElapsedTimeInMilliSec () |
get elapsed time in milli-second | |
double | getElapsedTimeInSec () |
get elapsed time in second (same as getElapsedTime) | |
void | start () |
start timer | |
void | stop () |
stop the timer | |
Timer () | |
~Timer () | |
Private Attributes | |
timeval | endCount |
double | endTimeInMicroSec |
ending time in micro-second | |
timeval | startCount |
double | startTimeInMicroSec |
starting time in micro-second | |
int | stopped |
stop flag |
Definition at line 55 of file test_fcl_utility.h.
Definition at line 11 of file test_fcl_utility.cpp.
Definition at line 28 of file test_fcl_utility.cpp.
double fcl::Timer::getElapsedTime | ( | ) |
get elapsed time in milli-second
Definition at line 88 of file test_fcl_utility.cpp.
double fcl::Timer::getElapsedTimeInMicroSec | ( | ) |
get elapsed time in micro-second
Definition at line 56 of file test_fcl_utility.cpp.
double fcl::Timer::getElapsedTimeInMilliSec | ( | ) |
get elapsed time in milli-second
Definition at line 76 of file test_fcl_utility.cpp.
double fcl::Timer::getElapsedTimeInSec | ( | ) |
get elapsed time in second (same as getElapsedTime)
Definition at line 82 of file test_fcl_utility.cpp.
void fcl::Timer::start | ( | void | ) |
start timer
Definition at line 33 of file test_fcl_utility.cpp.
void fcl::Timer::stop | ( | void | ) |
stop the timer
Definition at line 44 of file test_fcl_utility.cpp.
timeval fcl::Timer::endCount [private] |
Definition at line 78 of file test_fcl_utility.h.
double fcl::Timer::endTimeInMicroSec [private] |
ending time in micro-second
Definition at line 70 of file test_fcl_utility.h.
timeval fcl::Timer::startCount [private] |
Definition at line 77 of file test_fcl_utility.h.
double fcl::Timer::startTimeInMicroSec [private] |
starting time in micro-second
Definition at line 69 of file test_fcl_utility.h.
int fcl::Timer::stopped [private] |
stop flag
Definition at line 71 of file test_fcl_utility.h.