ATLAS Offline Software
IValgrindSvc.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef ATHENAKERNEL_IVALGRINDSVC_H
8 #define ATHENAKERNEL_IVALGRINDSVC_H
9 
10 // STL includes
11 #include <iosfwd>
12 
13 
14 // FrameWork includes
15 #include "GaudiKernel/IService.h"
16 
17 // Forward declaration
18 
24 class IValgrindSvc : virtual public IService
25 {
26 
28  // Public methods:
30  public:
31 
34  virtual ~IValgrindSvc();
35 
37  // Non-const methods:
39 
40  static const InterfaceID& interfaceID();
41 
43  virtual void callgrindStartInstrumentation() = 0;
44 
46  virtual void callgrindStopInstrumentation() = 0;
47 
49  virtual void callgrindDumpStats( std::ostream& out ) = 0;
50 
52  virtual void callgrindToggleCollect() = 0;
53 
55  virtual void valgrindDoLeakCheck() = 0;
56 
58  virtual unsigned int profileCount() = 0;
59 
61  // Private methods:
63  private:
64 
65 };
66 
67 
69 // Inline methods:
71 inline const InterfaceID& IValgrindSvc::interfaceID()
72 {
73  static const InterfaceID IID_IValgrindSvc("IValgrindSvc", 2, 0);
74  return IID_IValgrindSvc;
75 }
76 
77 #endif //> ATHENAKERNEL_IVALGRINDSVC_H
IValgrindSvc::~IValgrindSvc
virtual ~IValgrindSvc()
Destructor:
Definition: IValgrindSvc.cxx:20
IValgrindSvc::valgrindDoLeakCheck
virtual void valgrindDoLeakCheck()=0
Do a leak check now.
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
IValgrindSvc::callgrindStopInstrumentation
virtual void callgrindStopInstrumentation()=0
Stop callgrind instrumentation.
IValgrindSvc
Abstract interface for ValgrindSvc. FIXME.
Definition: IValgrindSvc.h:25
IValgrindSvc::profileCount
virtual unsigned int profileCount()=0
Number of created callgrind profiles.
IValgrindSvc::callgrindStartInstrumentation
virtual void callgrindStartInstrumentation()=0
Start callgrind instrumentation.
IValgrindSvc::callgrindDumpStats
virtual void callgrindDumpStats(std::ostream &out)=0
Dump callgrind profiling stats.
IValgrindSvc::interfaceID
static const InterfaceID & interfaceID()
Definition: IValgrindSvc.h:71
IValgrindSvc::callgrindToggleCollect
virtual void callgrindToggleCollect()=0
Toggle callgrind event collection.