1 #ifndef GAUDIAUD_CHRONOAUDITOR_H
2 #define GAUDIAUD_CHRONOAUDITOR_H
31 return caller +
":" +
evt;
virtual void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)
Default (catch-all) "after" Auditor hook.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
virtual const std::string & name() const
Retrieve the name of the instance.
SmartIF< IChronoStatSvc > & chronoSvc()
Base class with common functionalities shared by few auditor implementations.
const CustomEventType & CustomEventTypeRef
Used in function calls for optimization purposes.
ChronoAuditor(const std::string &name, ISvcLocator *pSvcLocator)
This class is used for returning status codes from appropriate routines.
virtual StatusCode initialize()
SmartIF< IChronoStatSvc > m_chronoSvc
Monitors the cpu time usage of each algorithm.
virtual void i_before(CustomEventTypeRef evt, const std::string &caller)
Default (catch-all) "before" Auditor hook.
std::string i_id(CustomEventTypeRef evt, const std::string &caller)
Compute the id string to be used for the chrono entity.