7 #pragma warning(disable:654)
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...
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.
SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
Base class with common functionalities shared by few auditor implementations.
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.
#define DECLARE_COMPONENT(type)
This class is used for returning status codes from appropriate routines.
static bool getProcInfo(procInfo &info)
Get the process informations.
Monitors the memory use of each algorithm.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual void i_after(CustomEventTypeRef evt, const std::string &caller, const StatusCode &sc)
Default (catch-all) "after" Auditor hook.