| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

# MemoryAuditor.h

Go to the documentation of this file.

    00001 #ifndef ATLASAUDITOR_MEMORYAUDITOR_H
    00002 #define ATLASAUDITOR_MEMORYAUDITOR_H
    00003
    00004 #include "CommonAuditor.h"
    00005 #include "ProcStats.h"
    00006
    00011 class MemoryAuditor:public CommonAuditor {
    00012 public:
    00013   MemoryAuditor(const std::string& name, ISvcLocator* pSvcLocator);
    00014
    00015 protected:
    00017   virtual void i_before(CustomEventTypeRef evt, const std::string& caller);
    00018
    00020   virtual void i_after(CustomEventTypeRef evt, const std::string& caller, const StatusCode& sc);
    00021
    00023   virtual void i_printinfo(const std::string& msg, CustomEventTypeRef evt, const std::string& caller);
    00024
    00027   inline static bool getProcInfo(procInfo &info) {
    00028     return ProcStats::instance()->fetch(info);
    00029   }
    00030 };
    00031
    00032 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines