|
Gaudi Framework, version v23r7 |
| Home | Generated: Wed Mar 20 2013 |
Auxilliary class. More...
#include <TimerForSequencer.h>

Public Member Functions | |
| TimerForSequencer (std::string name, double factor) | |
| Constructor. | |
| ~TimerForSequencer () | |
| void | start () |
| Start a time measurement. | |
| double | stop () |
| Stop time measurement and return the last elapsed time. | |
| 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 () |
| returns the total elapsed time | |
| double | cpuTotal () |
| returns the toptal cpu time | |
| double | count () |
| 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 |
| double | m_factor |
| longlong | m_startClock |
| longlong | m_startCpu |
| 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 19 of file TimerForSequencer.h.
|
inline |
Definition at line 33 of file TimerForSequencer.h.
|
inline |
|
inline |
|
inline |
Write measured time into the message stream.
Definition at line 97 of file TimerForSequencer.h.
|
inlinestatic |
header matching the previous format
Definition at line 112 of file TimerForSequencer.h.
|
inline |
returns the last measured time
Definition at line 76 of file TimerForSequencer.h.
|
inline |
returns the last measured time
Definition at line 73 of file TimerForSequencer.h.
|
inline |
|
inline |
Start a time measurement.
Definition at line 36 of file TimerForSequencer.h.
|
inline |
Stop time measurement and return the last elapsed time.
Definition at line 44 of file TimerForSequencer.h.
|
private |
Definition at line 122 of file TimerForSequencer.h.
|
private |
Definition at line 128 of file TimerForSequencer.h.
|
private |
Definition at line 127 of file TimerForSequencer.h.
|
private |
Definition at line 130 of file TimerForSequencer.h.
|
private |
Definition at line 129 of file TimerForSequencer.h.
|
private |
Definition at line 121 of file TimerForSequencer.h.
|
private |
Definition at line 126 of file TimerForSequencer.h.
|
private |
Definition at line 123 of file TimerForSequencer.h.
|
private |
Definition at line 124 of file TimerForSequencer.h.
|
private |
Definition at line 131 of file TimerForSequencer.h.
|
private |
Definition at line 132 of file TimerForSequencer.h.