|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef VTUNE_PROFILERSERVICE_H
6 #define VTUNE_PROFILERSERVICE_H
15 #include "GaudiKernel/ServiceHandle.h"
16 #include "GaudiKernel/IIncidentListener.h"
17 #include "GaudiKernel/IIncidentSvc.h"
49 virtual void handle(
const Incident& inc )
override;
69 std::unique_ptr< VTuneProfileRunner >
m_runner;
78 #endif // VTUNE_PROFILERSERVICE.H
virtual bool isProfilingRunning() const override
Is the profiling running at the moment?
ServiceHandle< IIncidentSvc > m_incidentSvc
Handle to the incident service.
virtual StatusCode pauseProfiling() override
Pause profiling.
std::atomic< int > m_processedEvents
Number of events processed so far.
virtual StatusCode resumeProfiling() override
Resume profiling.
int m_resumeEvent
Property: Event in which profiling should start.
::StatusCode StatusCode
StatusCode definition for legacy code.
VTuneProfilerService(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi service constructor.
virtual void handle(const Incident &inc) override
Function handling incoming incidents.
int m_pauseEvent
Property: Event in which profiling should pause.
virtual StatusCode initialize() override
Standard Gaudi initialization function.
StatusCode makeAuditor(const std::string &audName, IAuditorSvc *audSvc)
Helper method to create auditors.
std::unique_ptr< VTuneProfileRunner > m_runner
Unique ptr to the VTuneProfileRunner.
std::vector< std::string > m_algs
Property: List of algorithms to profile.