Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Clock Class Reference

#include <Clock.hh>

Public Member Functions

bool active (void) const
 
 Clock (void)
 
usec_t elapsed (void) const
 
usec_t reset (void)
 
usec_t start (void)
 
usec_t stop (void)
 
 ~Clock (void)
 

Static Public Member Functions

static usec_t time (void)
 

Static Public Attributes

static bool UsingCPU = std::getenv("CLOCK_USE_CPU") ? true : false
 

Private Attributes

bool _active
 
usec_t _elapsed
 
usec_t _start
 

Detailed Description

Definition at line 21 of file Clock.hh.

Constructor & Destructor Documentation

Clock::Clock ( void  )

Definition at line 62 of file Clock.cpp.

Clock::~Clock ( void  )

Definition at line 71 of file Clock.cpp.

Member Function Documentation

bool Clock::active ( void  ) const
inline

Definition at line 30 of file Clock.hh.

usec_t Clock::elapsed ( void  ) const

Definition at line 77 of file Clock.cpp.

usec_t Clock::reset ( void  )
inline

Definition at line 33 of file Clock.hh.

usec_t Clock::start ( void  )

Definition at line 87 of file Clock.cpp.

usec_t Clock::stop ( void  )

Definition at line 95 of file Clock.cpp.

usec_t Clock::time ( void  )
static

Definition at line 27 of file Clock.cpp.

Member Data Documentation

bool Clock::_active
private

Definition at line 39 of file Clock.hh.

usec_t Clock::_elapsed
private

Definition at line 38 of file Clock.hh.

usec_t Clock::_start
private

Definition at line 37 of file Clock.hh.

bool Clock::UsingCPU = std::getenv("CLOCK_USE_CPU") ? true : false
static

Definition at line 24 of file Clock.hh.


The documentation for this class was generated from the following files:


log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:10:00