TimeStatistic Class Reference

#include <stats.h>

Inheritance diagram for TimeStatistic:
Statistic

Public Member Functions

 TimeStatistic ()
bool is_timer ()
TimeStatisticoperator= (TimeStatistic &)
TimeStatisticoperator+= (TimeStatistic &)
TimeStatisticoperator+ (TimeStatistic &)
void clear ()
void start ()
void stop ()
double usecs ()
double ssecs ()
double wsecs ()
bool is_running ()
virtual bool is_count ()
virtual long int value ()

Protected Member Functions

 TimeStatistic (StatContainer *c)

Protected Attributes

StatContainercontainer_
bool valid

Private Attributes

timer t_

Friends

class StatContainer

Detailed Description

Definition at line 127 of file stats.h.


Constructor & Destructor Documentation

TimeStatistic::TimeStatistic ( StatContainer c  )  [inline, protected]

Definition at line 131 of file stats.h.

TimeStatistic::TimeStatistic (  )  [inline]

Definition at line 136 of file stats.h.


Member Function Documentation

void TimeStatistic::clear (  ) 

Definition at line 257 of file stats.C.

References timer::clear(), and t_.

virtual bool Statistic::is_count (  )  [inline, virtual, inherited]

Reimplemented in CntStatistic.

Definition at line 59 of file stats.h.

bool TimeStatistic::is_running (  ) 

Definition at line 293 of file stats.C.

References timer::is_running(), and t_.

bool TimeStatistic::is_timer (  )  [inline, virtual]

Reimplemented from Statistic.

Definition at line 140 of file stats.h.

TimeStatistic & TimeStatistic::operator+ ( TimeStatistic t  ) 

Definition at line 248 of file stats.C.

TimeStatistic & TimeStatistic::operator+= ( TimeStatistic t  ) 

Definition at line 241 of file stats.C.

References t_.

TimeStatistic & TimeStatistic::operator= ( TimeStatistic t  ) 

Definition at line 232 of file stats.C.

References t_.

double TimeStatistic::ssecs (  )  [virtual]

Reimplemented from Statistic.

Definition at line 281 of file stats.C.

References timer::ssecs(), and t_.

void TimeStatistic::start (  ) 

Definition at line 263 of file stats.C.

References timer::start(), and t_.

Referenced by StatContainer::startTimer().

void TimeStatistic::stop (  ) 

Definition at line 269 of file stats.C.

References timer::stop(), and t_.

Referenced by StatContainer::stopTimer().

double TimeStatistic::usecs (  )  [virtual]

Reimplemented from Statistic.

Definition at line 275 of file stats.C.

References t_, and timer::usecs().

virtual long int Statistic::value (  )  [inline, virtual, inherited]

Reimplemented in CntStatistic.

Definition at line 64 of file stats.h.

double TimeStatistic::wsecs (  )  [virtual]

Reimplemented from Statistic.

Definition at line 287 of file stats.C.

References t_, and timer::wsecs().


Friends And Related Function Documentation

friend class StatContainer [friend]

Definition at line 128 of file stats.h.


Field Documentation

StatContainer* Statistic::container_ [protected, inherited]

Definition at line 74 of file stats.h.

Definition at line 158 of file stats.h.

Referenced by clear(), is_running(), operator+=(), operator=(), ssecs(), start(), stop(), usecs(), and wsecs().

bool Statistic::valid [protected, inherited]

Definition at line 79 of file stats.h.


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

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1