| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MemoryAuditor.h
Go to the documentation of this file.
1 #ifndef ATLASAUDITOR_MEMORYAUDITOR_H
2 #define ATLASAUDITOR_MEMORYAUDITOR_H
3
4 #include "CommonAuditor.h"
5 #include "ProcStats.h"
6
11 class MemoryAuditor:public CommonAuditor {
12 public:
13 MemoryAuditor(const std::string& name, ISvcLocator* pSvcLocator);
14
15 protected:
17 virtual void i_before(CustomEventTypeRef evt, const std::string& caller);
18
20 virtual void i_after(CustomEventTypeRef evt, const std::string& caller, const StatusCode& sc);
21
23 virtual void i_printinfo(const std::string& msg, CustomEventTypeRef evt, const std::string& caller);
24
27 inline static bool getProcInfo(procInfo &info) {
28 return ProcStats::instance()->fetch(info);
29 }
30 };
31
32 #endif