1 #ifndef ATLASAUDITOR_MEMORYAUDITOR_H
2 #define ATLASAUDITOR_MEMORYAUDITOR_H
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.
virtual void i_before(CustomEventTypeRef evt, const std::string &caller)
Default (catch-all) "before" Auditor hook.
Base class with common functionalities shared by few auditor implementations.
static ProcStats * instance()
const CustomEventType & CustomEventTypeRef
Used in function calls for optimization purposes.
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.
MemoryAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Monitors the memory use of each algorithm.
bool fetch(procInfo &fill_me)
virtual void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)
Default (catch-all) "after" Auditor hook.