All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
fcl::Timer Class Reference

#include <test_fcl_utility.h>

List of all members.

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

Detailed Description

Definition at line 55 of file test_fcl_utility.h.


Constructor & Destructor Documentation

Definition at line 11 of file test_fcl_utility.cpp.

Definition at line 28 of file test_fcl_utility.cpp.


Member Function Documentation

get elapsed time in milli-second

Definition at line 88 of file test_fcl_utility.cpp.

get elapsed time in micro-second

Definition at line 56 of file test_fcl_utility.cpp.

get elapsed time in milli-second

Definition at line 76 of file test_fcl_utility.cpp.

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.


Member Data Documentation

timeval fcl::Timer::endCount [private]

Definition at line 78 of file test_fcl_utility.h.

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.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:32