1 #ifndef ATLASAUDITOR_MEMORYAUDITOR_H 2 #define ATLASAUDITOR_MEMORYAUDITOR_H MsgStream & msg() const
shortcut for the method msgStream(MSG::INFO)
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc) override
Default (catch-all) "after" Auditor hook.
Base class with common functionalities shared by few auditor implementations.
static ProcStats * instance()
virtual void i_printinfo(const std::string &msg, CustomEventTypeRef evt, const std::string &caller)
Report the memory usage.
This class is used for returning status codes from appropriate routines.
static bool getProcInfo(procInfo &info)
Get the process informations.
CommonAuditor(const std::string &name, ISvcLocator *svcloc)
Constructor.
void i_before(CustomEventTypeRef evt, const std::string &caller) override
Default (catch-all) "before" Auditor hook.
Monitors the memory use of each algorithm.
bool fetch(procInfo &fill_me)