1 #ifndef GAUDIAUDITOR_MemStatAuditor_H
2 #define GAUDIAUDITOR_MemStatAuditor_H 1
23 virtual void i_before(CustomEventTypeRef
evt,
const std::string& caller);
25 virtual void i_printinfo(
const std::string&
msg, CustomEventTypeRef evt,
const std::string& caller);
34 #endif // GAUDIAUDITOR_MemStatAuditor_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Just a minor modification of MemoryAuditor to allow the output memory statistics table to be printed...
virtual StatusCode initialize()
virtual void i_before(CustomEventTypeRef evt, const std::string &caller)
Re-implement i_before to avoid monitoring the memory usage before a function.
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.
double m_vSize
vsize of the previous call to printinfo
SmartIF< IChronoStatSvc > m_stat
~MemStatAuditor() override=default
const std::string & name() const override
Monitors the memory use of each algorithm.
SmartIF< IChronoStatSvc > & statSvc()
MemStatAuditor(const std::string &name, ISvcLocator *pSvcLocator)
local