7 #pragma warning( disable : 654 ) 19 m_chronoSvc = serviceLocator()->service(
"ChronoStatSvc" );
20 if (
UNLIKELY( !m_chronoSvc.get() ) ) {
21 error() <<
"Cannot get ChronoStatSvc" <<
endmsg;
constexpr static const auto FAILURE
SmartIF< IChronoStatSvc > & chronoSvc()
#define DECLARE_COMPONENT(type)
void i_before(CustomEventTypeRef evt, const std::string &caller) override
Default (catch-all) "before" Auditor hook.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc) override
Default (catch-all) "after" Auditor hook.
Monitors the cpu time usage of each algorithm.
virtual StatusCode initialize()
std::string i_id(CustomEventTypeRef evt, const std::string &caller)
Compute the id string to be used for the chrono entity.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.