| The Gaudi Framework v30r0 (c919700c)

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

- File List
- File Members

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 {
16 public:
17 using GaudiAlgorithm::GaudiAlgorithm;
18 StatusCode execute() override;
19
20 private:
21 Gaudi::Property<int> m_nStartFromEvent{this, "StartFromEventN", 1, "After what event we start profiling."};
22 Gaudi::Property<int> m_nStopAtEvent{
23 this, "StopAtEventN", 0,
24 "After what event we stop profiling. If 0 than we also profile finalization stage. Default = 0."};
25
26 int m_eventNumber = 0; // Current event number
27 };
28 #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:319
GaudiAlgorithm.h
Header file for class GaudiAlgorithm.
IntelProfile::m_nStartFromEvent
Gaudi::Property< int > m_nStartFromEvent
Definition: IntelProfile.h:21
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IntelProfile::m_eventNumber
int m_eventNumber
Definition: IntelProfile.h:26
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:22
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm()