ATLAS Offline Software
CallGraphAuditor.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // CallGraphAuditor.h
8 // Header file for class CallGraphAuditor
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef PERFMONCOMPS_CALLGRAPHAUDITOR_H
12 #define PERFMONCOMPS_CALLGRAPHAUDITOR_H
13 
14 // STL includes
15 
16 // FrameWork includes
17 #include "GaudiKernel/Auditor.h"
18 #include "GaudiKernel/ServiceHandle.h"
19 
20 // Forward declaration
21 class INamedInterface;
23 
24 namespace PerfMon {
25 
26 class CallGraphAuditor : virtual public Auditor
27 {
28 
30  // Public methods:
32  public:
33 
35  CallGraphAuditor(const std::string& name, ISvcLocator* pSvcLocator);
36 
38  virtual ~CallGraphAuditor();
39 
41  virtual StatusCode initialize();
42 
43 
45  // Non-const methods:
47 
48  virtual void beforeInitialize(INamedInterface* alg);
49  virtual void afterInitialize(INamedInterface* alg);
50  virtual void beforeReinitialize(INamedInterface* alg);
51  virtual void afterReinitialize(INamedInterface* alg);
52  virtual void beforeExecute(INamedInterface* alg);
53  virtual void afterExecute(INamedInterface* alg, const StatusCode&);
54  virtual void beforeFinalize(INamedInterface* alg);
55  virtual void afterFinalize(INamedInterface* alg);
56 
58  // Private methods:
60  private:
61 
66 
67 };
68 
69 } // end namespace PerfMon
70 
71 #endif //> PERFMONCOMPS_CALLGRAPHAUDITOR_H
PerfMon::CallGraphAuditor::beforeReinitialize
virtual void beforeReinitialize(INamedInterface *alg)
Definition: CallGraphAuditor.cxx:86
SGout2dot.alg
alg
Definition: SGout2dot.py:243
PerfMon::CallGraphAuditor::ICallGraphSvc_t
ServiceHandle< ICallGraphBuilderSvc > ICallGraphSvc_t
Definition: CallGraphAuditor.h:62
PerfMon::CallGraphAuditor::initialize
virtual StatusCode initialize()
Gaudi hooks.
Definition: CallGraphAuditor.cxx:59
PerfMon::CallGraphAuditor::beforeInitialize
virtual void beforeInitialize(INamedInterface *alg)
Definition: CallGraphAuditor.cxx:74
PerfMon::CallGraphAuditor::beforeExecute
virtual void beforeExecute(INamedInterface *alg)
Definition: CallGraphAuditor.cxx:98
PerfMon::CallGraphAuditor::afterReinitialize
virtual void afterReinitialize(INamedInterface *alg)
Definition: CallGraphAuditor.cxx:92
PerfMon
a simple malloc wrapper that keeps track of the amount of memory allocated on the heap.
Definition: CallGraphAuditor.cxx:24
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PerfMon::CallGraphAuditor::afterFinalize
virtual void afterFinalize(INamedInterface *alg)
Definition: CallGraphAuditor.cxx:116
PerfMon::CallGraphAuditor::afterExecute
virtual void afterExecute(INamedInterface *alg, const StatusCode &)
Definition: CallGraphAuditor.cxx:104
PerfMon::CallGraphAuditor
Definition: CallGraphAuditor.h:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PerfMon::CallGraphAuditor::m_callGraphSvc
ICallGraphSvc_t m_callGraphSvc
Handle to the ICallGraphSvc service which will build the call graph tree (and annotate it)
Definition: CallGraphAuditor.h:65
PerfMon::CallGraphAuditor::beforeFinalize
virtual void beforeFinalize(INamedInterface *alg)
Definition: CallGraphAuditor.cxx:110
PerfMon::CallGraphAuditor::afterInitialize
virtual void afterInitialize(INamedInterface *alg)
Definition: CallGraphAuditor.cxx:80
PerfMon::CallGraphAuditor::CallGraphAuditor
CallGraphAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: CallGraphAuditor.cxx:32
ICallGraphBuilderSvc
Definition: ICallGraphBuilderSvc.h:23
PerfMon::CallGraphAuditor::~CallGraphAuditor
virtual ~CallGraphAuditor()
Destructor.
Definition: CallGraphAuditor.cxx:48
ServiceHandle< ICallGraphBuilderSvc >