ATLAS Offline Software
|
#include <VTuneProfilerService.h>
Public Member Functions | |
VTuneProfilerService (const std::string &name, ISvcLocator *svcloc) | |
Standard Gaudi service constructor. More... | |
virtual StatusCode | initialize () override |
Standard Gaudi initialization function. More... | |
virtual StatusCode | resumeProfiling () override |
Resume profiling. More... | |
virtual StatusCode | pauseProfiling () override |
Pause profiling. More... | |
virtual bool | isProfilingRunning () const override |
Is the profiling running at the moment? More... | |
virtual void | handle (const Incident &inc) override |
Function handling incoming incidents. More... | |
Private Member Functions | |
StatusCode | makeAuditor (const std::string &audName, IAuditorSvc *audSvc) |
Helper method to create auditors. More... | |
Private Attributes | |
ServiceHandle< IIncidentSvc > | m_incidentSvc |
Handle to the incident service. More... | |
int | m_resumeEvent |
Property: Event in which profiling should start. More... | |
int | m_pauseEvent |
Property: Event in which profiling should pause. More... | |
std::vector< std::string > | m_algs |
Property: List of algorithms to profile. More... | |
std::unique_ptr< VTuneProfileRunner > | m_runner |
Unique ptr to the VTuneProfileRunner. More... | |
std::atomic< int > | m_processedEvents |
Number of events processed so far. More... | |
std::mutex | m_mutex |
Definition at line 27 of file VTuneProfilerService.h.
VTuneProfilerService::VTuneProfilerService | ( | const std::string & | name, |
ISvcLocator * | svcloc | ||
) |
Standard Gaudi service constructor.
Constructor.
Definition at line 21 of file VTuneProfilerService.cxx.
|
overridevirtual |
Function handling incoming incidents.
Handle when to resume/pause the profiling.
Definition at line 132 of file VTuneProfilerService.cxx.
|
overridevirtual |
Standard Gaudi initialization function.
Initalize the service.
Definition at line 39 of file VTuneProfilerService.cxx.
|
overridevirtual |
Is the profiling running at the moment?
Is the profiling running?
Definition at line 123 of file VTuneProfilerService.cxx.
|
private |
Helper method to create auditors.
Create the auditor here ala PerfMonComps/PerfMonUtils.
Definition at line 197 of file VTuneProfilerService.cxx.
|
overridevirtual |
|
overridevirtual |
|
private |
Property: List of algorithms to profile.
Definition at line 66 of file VTuneProfilerService.h.
|
private |
Handle to the incident service.
Definition at line 57 of file VTuneProfilerService.h.
|
private |
Definition at line 74 of file VTuneProfilerService.h.
|
private |
Property: Event in which profiling should pause.
Definition at line 63 of file VTuneProfilerService.h.
|
private |
Number of events processed so far.
Definition at line 72 of file VTuneProfilerService.h.
|
private |
Property: Event in which profiling should start.
Definition at line 60 of file VTuneProfilerService.h.
|
private |
Unique ptr to the VTuneProfileRunner.
Definition at line 69 of file VTuneProfilerService.h.