ATLAS Offline Software
|
Helper class to create a scoped timer. More...
#include <MonitoredTimer.h>
Public Member Functions | |
ScopedTimer (T &timer) | |
~ScopedTimer () | |
Private Attributes | |
T & | m_timer |
Helper class to create a scoped timer.
This helper will call start()/stop() of the specified Monitored::Timer on creation/destruction. It is useful in case there is unrelated code between creation of the Monitored::Timer and the code of interest.
Definition at line 95 of file MonitoredTimer.h.
|
inline |
Definition at line 97 of file MonitoredTimer.h.
|
inline |
Definition at line 100 of file MonitoredTimer.h.
|
private |
Definition at line 104 of file MonitoredTimer.h.