|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef TRIGSTEERMONITOR_SCHEDULERMONSVC_H
5 #define TRIGSTEERMONITOR_SCHEDULERMONSVC_H
15 #include "GaudiKernel/SmartIF.h"
16 #include "GaudiKernel/IScheduler.h"
47 this,
"SchedulerName",
"AvalancheSchedulerSvc",
"Name of the scheduler"};
49 this,
"MonIntervalMillisec", 100,
"Monitoring snapshot interval in milliseconds"};
51 this,
"MonTool",
"",
"Monitoring tool"};
60 #endif // TRIGSTEERMONITOR_SCHEDULERMONSVC_H
SmartIF< IScheduler > m_scheduler
SchedulerMonSvc(const std::string &name, ISvcLocator *svcLoc)
virtual StatusCode stopMonitoring() override
Stop querying and monitoring Scheduler status.
::StatusCode StatusCode
StatusCode definition for legacy code.
Service monitoring the Scheduler status and producing relevant online histograms.
Gaudi::Property< std::string > m_schedulerName
Header file to be included by clients of the Monitored infrastructure.
ToolHandle< GenericMonitoringTool > m_monTool
std::atomic_size_t m_lastSnapCounter
ClockType::time_point m_startTime
decltype(IScheduler::OccupancySnapshot::time)::clock ClockType
def time(flags, cells_name, *args, **kw)
virtual ~SchedulerMonSvc() override=default
virtual StatusCode initialize() override
std::atomic_bool m_running
Gaudi::Property< unsigned int > m_monIntervalMillisec
virtual StatusCode startMonitoring() override
Start querying and monitoring Scheduler status.