| The Gaudi Framework v27r1

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

- File List
- File Members

JemallocProfile.h
Go to the documentation of this file.
1 #ifndef JEMALLOC_PROFILE_H
2 #define JEMALLOC_PROFILE_H 1
3
4 // Include files
5 // from Gaudi
6 #include "GaudiAlg/GaudiAlgorithm.h"
7
8
20 class JemallocProfile : public GaudiAlgorithm {
21 public:
23 JemallocProfile( const std::string& name, ISvcLocator* pSvcLocator );
24
25 virtual ~JemallocProfile( );
26
27 virtual StatusCode initialize();
28 virtual StatusCode execute ();
29 virtual StatusCode finalize ();
30
31 protected:
32
33 private:
34 int m_nStartFromEvent; // Event to start profiling at
35 int m_nStopAtEvent; // Event to stop profiling at
36 bool m_profiling; // whether we are profiling...
37 int m_dumpPeriod; // Period at which to dump the heap
38 int m_eventNumber; // Current event number
39 };
40 #endif // JEMALLOC_PROFILE_H
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
JemallocProfile::finalize
virtual StatusCode finalize()
Algorithm finalization.
Definition: JemallocProfile.cpp:106
JemallocProfile::m_dumpPeriod
int m_dumpPeriod
Definition: JemallocProfile.h:37
GaudiAlgorithm.h
JemallocProfile::m_nStopAtEvent
int m_nStopAtEvent
Definition: JemallocProfile.h:35
JemallocProfile::m_eventNumber
int m_eventNumber
Definition: JemallocProfile.h:38
std::string
STL class.
Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:820
JemallocProfile::execute
virtual StatusCode execute()
Algorithm execution.
Definition: JemallocProfile.cpp:72
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
GaudiAlgorithm
The useful base class for data processing algorithms.
Definition: GaudiAlgorithm.h:93
JemallocProfile::m_nStartFromEvent
int m_nStartFromEvent
Definition: JemallocProfile.h:34
JemallocProfile::initialize
virtual StatusCode initialize()
Algorithm initialization.
Definition: JemallocProfile.cpp:55
JemallocProfile::m_profiling
bool m_profiling
Definition: JemallocProfile.h:36
JemallocProfile::JemallocProfile
JemallocProfile(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition: JemallocProfile.cpp:28
JemallocProfile::~JemallocProfile
virtual ~JemallocProfile()
Destructor.
Definition: JemallocProfile.cpp:50
JemallocProfile
Algorithm to enable/disable the profiling of the head by Jemalloc.
Definition: JemallocProfile.h:20