7 # pragma warning( disable : 654 ) 18 m_chronoSvc = serviceLocator()->service(
"ChronoStatSvc" );
19 if (
UNLIKELY( !m_chronoSvc.get() ) ) {
20 error() <<
"Cannot get ChronoStatSvc" <<
endmsg;
SmartIF< IChronoStatSvc > & chronoSvc()
constexpr static const auto SUCCESS
#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.
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.
constexpr static const auto FAILURE
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.