| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

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

- Search for |

- File List
- File Members

# MemStatAuditor.h

Go to the documentation of this file.

    00001 #ifndef     GAUDIAUDITOR_MemStatAuditor_H
    00002 #define     GAUDIAUDITOR_MemStatAuditor_H 1
    00003
    00004
    00005
    00015 #include "GaudiKernel/Auditor.h"
    00016
    00017 class INamedInterface;
    00018 class IChronoStatSvc;
    00019
    00020 class MemStatAuditor:public  Auditor {
    00021
    00022 public:
    00023   MemStatAuditor(const std::string& name, ISvcLocator* pSvcLocator);
    00024   virtual ~MemStatAuditor();
    00025   virtual void beforeInitialize(INamedInterface* alg);
    00026   virtual void afterInitialize(INamedInterface* alg);
    00027   virtual void beforeReinitialize(INamedInterface* alg);
    00028   virtual void afterReinitialize(INamedInterface* alg);
    00029   virtual void beforeExecute(INamedInterface* alg);
    00030   virtual void afterExecute(INamedInterface* alg, const StatusCode &);
    00031   virtual void beforeBeginRun(INamedInterface* alg);
    00032   virtual void afterBeginRun(INamedInterface *alg);
    00033   virtual void beforeEndRun(INamedInterface* alg);
    00034   virtual void afterEndRun(INamedInterface *alg);
    00035   virtual void beforeFinalize(INamedInterface* alg);
    00036   virtual void afterFinalize(INamedInterface* alg);
    00037
    00038   virtual StatusCode sysFinalize( );
    00039
    00040 private:
    00041
    00042   bool printinfo(const std::string& theString, const std::string& Tag );
    00043   IChronoStatSvc*  statSvc() const { return m_stat; }
    00044   IChronoStatSvc*  m_stat;
    00045   double m_vSize ; // vsize of the previous call to printinfo
    00046 };
    00047
    00048 #endif  //  GAUDIAUDITOR_MemStatAuditor_H
    00049