The Gaudi Framework
v36r9p1 (5c15b2bb)
IntelProfile.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef INTEL_INTELPROFILE_H
12
#define INTEL_INTELPROFILE_H 1
13
14
// Include files
15
// from Gaudi
16
#include "
GaudiAlg/GaudiAlgorithm.h
"
17
#include "ittnotify.h"
18
24
class
IntelProfile
:
public
GaudiAlgorithm
{
25
public
:
26
using
GaudiAlgorithm::GaudiAlgorithm
;
27
StatusCode
execute
()
override
;
28
29
private
:
30
Gaudi::Property<int>
m_nStartFromEvent
{
this
,
"StartFromEventN"
, 1,
"After what event we start profiling."
};
31
Gaudi::Property<int>
m_nStopAtEvent
{
32
this
,
"StopAtEventN"
, 0,
33
"After what event we stop profiling. If 0 than we also profile finalization stage. Default = 0."
};
34
35
int
m_eventNumber
= 0;
// Current event number
36
};
37
#endif // INTEL_INTELPROFILE_H
IntelProfile::execute
StatusCode execute() override
Algorithm execution.
Definition:
IntelProfile.cpp:27
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm(std::string name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition:
GaudiAlgorithm.cpp:45
IntelProfile::m_eventNumber
int m_eventNumber
Definition:
IntelProfile.h:35
StatusCode
Definition:
StatusCode.h:65
GaudiAlgorithm
Definition:
GaudiAlgorithm.h:104
IntelProfile
Algorithm to enable/disable the profiling by Intel at given events.
Definition:
IntelProfile.h:24
IntelProfile::m_nStopAtEvent
Gaudi::Property< int > m_nStopAtEvent
Definition:
IntelProfile.h:31
GaudiAlgorithm.h
IntelProfile::m_nStartFromEvent
Gaudi::Property< int > m_nStartFromEvent
Definition:
IntelProfile.h:30
Gaudi::Property< int >
GaudiProfiling
src
component
intel
IntelProfile.h
Generated on Fri Feb 3 2023 18:02:59 for The Gaudi Framework by
1.8.18