#include <TimingReport.h>
Public Member Functions | |
bool | active () const |
double | cpusec () const |
Item () | |
double | realsec () const |
double | realticks () const |
void | setObs (MyObserver *io) |
void | start () |
void | stop () |
Item & | switchCPU (bool ion) |
Item & | switchOn (bool ion) |
Public Attributes | |
int | counter |
bool | cpuon |
LinuxCPUTimer | cpuwatch |
MyObserver * | o |
bool | on |
PentiumTimer | stopwatch |
Private Types | |
typedef BaseEvent< std::pair < double, double > > | MyObserver |
Definition at line 26 of file TimingReport.h.
|
private |
Definition at line 27 of file TimingReport.h.
|
inline |
Definition at line 29 of file TimingReport.h.
|
inline |
Definition at line 43 of file TimingReport.h.
References GenTimer< Time >::running(), and stopwatch.
Referenced by stop().
double TimingReport::Item::cpusec | ( | ) | const |
Definition at line 16 of file TimingReport.cc.
References GenTimer< LCPUTime >::bias(), GenTimer< PentiumTime >::bias(), and max().
double TimingReport::Item::realsec | ( | ) | const |
Definition at line 8 of file TimingReport.cc.
References GenTimer< PentiumTime >::bias(), counter, GenTimer< Time >::lap(), max(), GenTimeInterval< Time >::seconds(), and stopwatch.
double TimingReport::Item::realticks | ( | ) | const |
Definition at line 12 of file TimingReport.cc.
References GenTimer< PentiumTime >::bias(), and max().
|
inline |
|
inline |
Definition at line 32 of file TimingReport.h.
References counter, cpuon, cpuwatch, on, GenTimer< Time >::start(), and stopwatch.
Referenced by R2DTimerObserver::start(), and TimeMe::TimeMe().
|
inline |
Definition at line 33 of file TimingReport.h.
References active(), cpuon, cpuwatch, GenTimer< Time >::lap(), o, on, GenTimeInterval< Time >::seconds(), GenTimer< Time >::stop(), and stopwatch.
Referenced by R2DTimerObserver::stop(), and TimeMe::~TimeMe().
|
inline |
Definition at line 31 of file TimingReport.h.
References cpuon.
Referenced by R2DTimerObserver::init(), and TimeMe::TimeMe().
|
inline |
int TimingReport::Item::counter |
Definition at line 51 of file TimingReport.h.
Referenced by TimerStack::push(), realsec(), and start().
bool TimingReport::Item::cpuon |
Definition at line 50 of file TimingReport.h.
Referenced by start(), stop(), and switchCPU().
LinuxCPUTimer TimingReport::Item::cpuwatch |
Definition at line 53 of file TimingReport.h.
Referenced by TimeMe::lap(), start(), and stop().
MyObserver* TimingReport::Item::o |
Definition at line 54 of file TimingReport.h.
bool TimingReport::Item::on |
Definition at line 49 of file TimingReport.h.
Referenced by start(), stop(), and switchOn().
PentiumTimer TimingReport::Item::stopwatch |
Definition at line 52 of file TimingReport.h.
Referenced by active(), TimeMe::lap(), realsec(), start(), and stop().