LifeV
|
Wall clock timer class. More...
#include <WallClock.hpp>
Private Member Functions | |
WallClock (const WallClock &) | |
WallClock & | operator= (const WallClock &) |
Private Attributes | |
time_Type | M_startTime |
time_Type | M_stopTime |
double | M_elapsedTime |
Public typedefs | |
typedef struct timeval | time_Type |
Constructor and destructor | |
WallClock () | |
~WallClock () | |
Public methods | |
void | start () |
void | stop () |
void | reset () |
Get methods | |
const double & | elapsedTime () const |
const double & | diff () const |
typedef struct timeval time_Type |
Definition at line 53 of file WallClock.hpp.
WallClock | ( | ) |
Definition at line 45 of file WallClock.cpp.
~WallClock | ( | ) |
Definition at line 50 of file WallClock.cpp.
void start | ( | ) |
void stop | ( | ) |
void reset | ( | ) |
|
inline |
Definition at line 71 of file WallClock.hpp.
|
inline |
Definition at line 75 of file WallClock.hpp.
|
private |
Definition at line 86 of file WallClock.hpp.
|
private |
Definition at line 87 of file WallClock.hpp.
|
private |
Definition at line 89 of file WallClock.hpp.