![]() |
ATLAS Offline Software
|
Exception-safe IChronoSvc caller.
More...
#include <Chrono.h>
Public Member Functions | |
| Chrono (const std::string &name, IChronoSvc *svc) | |
Start a IChronoSvc timer. More... | |
| ~Chrono () | |
| Destructor. More... | |
Private Attributes | |
| std::string | m_name |
| IChronoSvc * | m_svc |
Exception-safe IChronoSvc caller.
The way to time something using the Gaudi IChronoSvc is like this:
This is of course not exception-safe.
This wrapper provides an exception-safe way of calling IChronoSvc:
|
inline |
|
inline |
1.8.18