Loading [MathJax]/extensions/tex2jax.js
Go to the documentation of this file.
18 #ifndef STALLEDEVENTMONITOR_H_
19 #define STALLEDEVENTMONITOR_H_
42 using extends::extends;
62 this,
"EventTimeout", 600,
"Number of seconds allowed to process a single event (0 to disable the check)." };
64 "Number timeouts before aborting the execution (0 means never abort)." };
74 #endif // STALLEDEVENTMONITOR_H_
Service that monitor the time taken by processing of single events using a separate thread.
StatusCode initialize() override
Initialization of the service.
StatusCode finalize() override
Finalization of the service.
Gaudi::Property< unsigned int > m_eventTimeout
Base class used to extend a class implementing other interfaces.
Gaudi::Property< int > m_maxTimeoutCount
void handle(const Incident &) override
Notify the watchdog thread for a new event.
std::unique_ptr< WatchdogThread > m_watchdog
Pointer to the watchdog thread that checks for the event timeout.
StatusCode stop() override
Stop the watchdog thread (after the event loop).
SmartIF< IIncidentSvc > m_incidentSvc
Pointer to the incident service.
Gaudi::Property< bool > m_stackTrace
StatusCode start() override
Start the watchdog thread (before entering the event loop).