#include <stats.h>
Public Member Functions | |
| TimeStatistic () | |
| bool | is_timer () |
| TimeStatistic & | operator= (TimeStatistic &) |
| TimeStatistic & | operator+= (TimeStatistic &) |
| TimeStatistic & | operator+ (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 | |
| StatContainer * | container_ |
| bool | valid |
Private Attributes | |
| timer | t_ |
Friends | |
| class | StatContainer |
Definition at line 127 of file stats.h.
| TimeStatistic::TimeStatistic | ( | StatContainer * | c | ) | [inline, protected] |
| 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.
| bool TimeStatistic::is_running | ( | ) |
Definition at line 293 of file stats.C.
References timer::is_running(), and t_.
| bool TimeStatistic::is_timer | ( | ) | [inline, virtual] |
| TimeStatistic & TimeStatistic::operator+ | ( | TimeStatistic & | t | ) |
| TimeStatistic & TimeStatistic::operator+= | ( | TimeStatistic & | t | ) |
| TimeStatistic & TimeStatistic::operator= | ( | TimeStatistic & | 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.
| double TimeStatistic::wsecs | ( | ) | [virtual] |
Reimplemented from Statistic.
Definition at line 287 of file stats.C.
References t_, and timer::wsecs().
friend class StatContainer [friend] |
StatContainer* Statistic::container_ [protected, inherited] |
timer TimeStatistic::t_ [private] |
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] |
1.6.1