ATLAS Offline Software
Loading...
Searching...
No Matches
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"
16
17class 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
39
41 std::vector<std::string> m_algs;
42
43}; // end VTuneAuditor
44
45
46#endif // VTUNEAUDITOR_H
virtual void after(const std::string &event, const std::string &name, const EventContext &, const StatusCode &) override
virtual void before(const std::string &event, const std::string &name, const EventContext &) override
Implement inherited methods from Auditor.
virtual StatusCode initialize() override
Gaudi hooks.
std::vector< std::string > m_algs
Property: List of algorithms to profile.
VTuneAuditor(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
ServiceHandle< IVTuneProfilerSvc > m_vtuneProfilerSvc
Handle to VTuneProfilerSvc.