| The Gaudi Framework v32r1 (f65d50dc)

IntelProfile.h
Go to the documentation of this file.
1 #ifndef INTEL_INTELPROFILE_H
2 #define INTEL_INTELPROFILE_H 1
3
4 // Include files
5 // from Gaudi
6 #include "GaudiAlg/GaudiAlgorithm.h"
7 #include "ittnotify.h"
8
14 class IntelProfile : public GaudiAlgorithm {
15 public:
16 using GaudiAlgorithm::GaudiAlgorithm;
17 StatusCode execute() override;
18
19 private:
20 Gaudi::Property<int> m_nStartFromEvent{this, "StartFromEventN", 1, "After what event we start profiling."};
21 Gaudi::Property<int> m_nStopAtEvent{
22 this, "StopAtEventN", 0,
23 "After what event we stop profiling. If 0 than we also profile finalization stage. Default = 0."};
24
25 int m_eventNumber = 0; // Current event number
26 };
27 #endif // INTEL_INTELPROFILE_H
IntelProfile
Algorithm to enable/disable the profiling by Intel at given events.
Definition: IntelProfile.h:14
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:352
GaudiAlgorithm.h
Header file for class GaudiAlgorithm.
IntelProfile::m_nStartFromEvent
Gaudi::Property< int > m_nStartFromEvent
Definition: IntelProfile.h:20
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
IntelProfile::m_eventNumber
int m_eventNumber
Definition: IntelProfile.h:25
GaudiAlgorithm
The useful base class for data processing algorithms.
Definition: GaudiAlgorithm.h:94
IntelProfile::execute
StatusCode execute() override
Algorithm execution.
Definition: IntelProfile.cpp:17
IntelProfile::m_nStopAtEvent
Gaudi::Property< int > m_nStopAtEvent
Definition: IntelProfile.h:21
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition: GaudiAlgorithm.cpp:35