The Gaudi Framework  v30r3 (a5ef0a68)
ISequencerTimerTool.h
Go to the documentation of this file.
1 #ifndef ISEQUENCERTIMERTOOL_H
2 #define ISEQUENCERTIMERTOOL_H 1
3 
4 // from Gaudi
5 #include "GaudiKernel/IAlgTool.h"
6 
14 class GAUDI_API ISequencerTimerTool : public virtual IAlgTool
15 {
16 
17 public:
18  using IAlgTool::start;
19  using IAlgTool::stop;
20  using IAlgTool::name;
21 
22 public:
25 
27  virtual int addTimer( const std::string& name ) = 0;
28 
30  virtual void increaseIndent() = 0;
31 
33  virtual void decreaseIndent() = 0;
34 
36  virtual void start( int index ) = 0;
37 
39  virtual double stop( int index ) = 0;
40 
42  virtual const std::string& name( int index ) = 0;
43 
45  virtual double lastTime( int index ) = 0;
46 
48  virtual int indexByName( const std::string& name ) = 0;
49 
51  virtual bool globalTiming() = 0;
52 
54  virtual void saveHistograms() = 0;
55 };
56 
57 #endif // ISEQUENCERTIMERTOOL_H
virtual StatusCode start()=0
Start (from INITIALIZED to RUNNING).
DeclareInterfaceID(IAlgTool, 4, 0)
InterfaceID.
STL class.
virtual StatusCode stop()=0
Stop (from RUNNING to INITIALIZED).
The interface implemented by the AlgTool base class.
Definition: IAlgTool.h:23
Implements the time measurement inside a sequencer.
#define GAUDI_API
Definition: Kernel.h:104
virtual const std::string & name() const =0
Retrieve the name of the instance.