|
Gaudi Framework, version v25r0 |
| Home | Generated: Mon Feb 17 2014 |
Auxilliary class. More...
#include <TimerForSequencer.h>

Public Member Functions | |
| TimerForSequencer (const std::string &name, const unsigned int size, const double factor) | |
| Constructor. | |
| ~TimerForSequencer () | |
| void | start () |
| Start a time measurement. | |
| double | stop () |
| Stop time measurement and return the last elapsed time. | |
| const std::string & | name () const |
| returns the name | |
| double | lastTime () const |
| returns the last measured time | |
| double | lastCpu () const |
| returns the last measured time | |
| double | elapsedTotal () const |
| returns the total elapsed time | |
| double | cpuTotal () const |
| returns the total cpu time | |
| double | count () const |
| Returns the number run count. | |
| MsgStream & | fillStream (MsgStream &s) const |
| Write measured time into the message stream. | |
Static Public Member Functions | |
| static std::string | header (std::string::size_type size) |
| header matching the previous format | |
Private Attributes | |
| std::string | m_name |
| unsigned int | m_size |
| double | m_factor |
| long long | m_startClock |
| long long | m_startCpu |
| long long | m_num |
| double | m_lastTime |
| double | m_lastCpu |
| double | m_min |
| double | m_max |
| double | m_sum |
| double | m_sumCpu |
Auxilliary class.
Measure the time between start and stop, and compute average, min and max. In fact, measure the cpu time, and the elapsed time but givesmin/max only for elapsed.
Definition at line 14 of file TimerForSequencer.h.
|
inline |
Constructor.
Specify the name, for later printing.
Definition at line 20 of file TimerForSequencer.h.
|
inline |
Definition at line 37 of file TimerForSequencer.h.
|
inline |
|
inline |
|
inline |
Write measured time into the message stream.
Definition at line 40 of file TimerForSequencer.cpp.
|
static |
header matching the previous format
Definition at line 56 of file TimerForSequencer.cpp.
|
inline |
returns the last measured time
Definition at line 58 of file TimerForSequencer.h.
|
inline |
returns the last measured time
Definition at line 55 of file TimerForSequencer.h.
|
inline |
|
inline |
| double TimerForSequencer::stop | ( | ) |
Stop time measurement and return the last elapsed time.
Definition at line 11 of file TimerForSequencer.cpp.
|
private |
Definition at line 79 of file TimerForSequencer.h.
|
private |
Definition at line 85 of file TimerForSequencer.h.
|
private |
Definition at line 84 of file TimerForSequencer.h.
|
private |
Definition at line 87 of file TimerForSequencer.h.
|
private |
Definition at line 86 of file TimerForSequencer.h.
|
private |
Definition at line 77 of file TimerForSequencer.h.
|
private |
Definition at line 83 of file TimerForSequencer.h.
|
private |
Definition at line 78 of file TimerForSequencer.h.
|
private |
Definition at line 80 of file TimerForSequencer.h.
|
private |
Definition at line 81 of file TimerForSequencer.h.
|
private |
Definition at line 88 of file TimerForSequencer.h.
|
private |
Definition at line 89 of file TimerForSequencer.h.