ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
PerformanceMonitoring
PerfMonVTune
src
VTuneAuditor.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef VTUNEAUDITOR_H
6
#define VTUNEAUDITOR_H
7
8
// STL include(s)
9
#include <vector>
10
#include <string>
11
12
// Framework include(s)
13
#include "Gaudi/Auditor.h"
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "
PerfMonVTune/IVTuneProfilerSvc.h
"
16
17
class
VTuneAuditor
:
public
Gaudi::Auditor
18
{
19
20
public
:
21
23
VTuneAuditor
(
const
std::string& name, ISvcLocator* pSvcLocator);
24
26
virtual
StatusCode
initialize
()
override
;
27
29
virtual
void
before
(
const
std::string& event,
const
std::string& name,
30
const
EventContext&)
override
;
31
32
virtual
void
after
(
const
std::string& event,
const
std::string& name,
33
const
EventContext&,
const
StatusCode&)
override
;
34
35
private
:
36
38
ServiceHandle< IVTuneProfilerSvc >
m_vtuneProfilerSvc
;
39
41
std::vector<std::string>
m_algs
;
42
43
};
// end VTuneAuditor
44
45
46
#endif
// VTUNEAUDITOR_H
IVTuneProfilerSvc.h
ServiceHandle< IVTuneProfilerSvc >
VTuneAuditor::after
virtual void after(const std::string &event, const std::string &name, const EventContext &, const StatusCode &) override
Definition
VTuneAuditor.cxx:77
VTuneAuditor::before
virtual void before(const std::string &event, const std::string &name, const EventContext &) override
Implement inherited methods from Auditor.
Definition
VTuneAuditor.cxx:61
VTuneAuditor::initialize
virtual StatusCode initialize() override
Gaudi hooks.
Definition
VTuneAuditor.cxx:28
VTuneAuditor::m_algs
std::vector< std::string > m_algs
Property: List of algorithms to profile.
Definition
VTuneAuditor.h:41
VTuneAuditor::VTuneAuditor
VTuneAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
VTuneAuditor.cxx:14
VTuneAuditor::m_vtuneProfilerSvc
ServiceHandle< IVTuneProfilerSvc > m_vtuneProfilerSvc
Handle to VTuneProfilerSvc.
Definition
VTuneAuditor.h:38
Generated on
for ATLAS Offline Software by
1.17.0