7 #pragma warning(disable:654)
11 #include "GaudiKernel/MsgStream.h"
24 i_printinfo(
"Memory usage has changed after", evt, caller);
33 log <<
MSG::INFO << msg <<
" " << caller <<
" " << evt <<
34 " virtual size = " << info.
vsize <<
" MB" <<
35 " resident set size = " << info.
rss <<
" MB" <<
endmsg;
Definition of the MsgStream class used to transmit messages.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual void i_before(CustomEventTypeRef evt, const std::string &caller)
Default (catch-all) "before" Auditor hook.
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
Base class with common functionalities shared by few auditor implementations.
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.
#define DECLARE_COMPONENT(type)
static bool getProcInfo(procInfo &info)
Get the process informations.
const std::string & name() const override
Monitors the memory use of each algorithm.
virtual void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)
Default (catch-all) "after" Auditor hook.