Skip to content
Snippets Groups Projects
Commit 924f6600 authored by Rafal Bielski's avatar Rafal Bielski :wave:
Browse files

HltEventLoopMgr: Add timing histogram for clearStore() calls

parent baea16e0
No related branches found
No related tags found
No related merge requests found
...@@ -156,6 +156,13 @@ class HltEventLoopMgr(_HltEventLoopMgr): ...@@ -156,6 +156,13 @@ class HltEventLoopMgr(_HltEventLoopMgr):
title='Time between freeing and assigning a scheduler slot;Time [ms];Events', title='Time between freeing and assigning a scheduler slot;Time [ms];Events',
xbins=400, xmin=0, xmax=800, opt='kCanRebin') xbins=400, xmin=0, xmax=800, opt='kCanRebin')
self.MonTool.defineHistogram('TIME_clearStore', path='EXPERT', type='TH1F',
title='Time of clearStore() calls;Time [ms];Calls',
xbins=200, xmin=0, xmax=50)
self.MonTool.defineHistogram('TIME_clearStore;TIME_clearStore_extRange', path='EXPERT', type='TH1F',
title='Time of clearStore() calls;Time [ms];Calls',
xbins=200, xmin=0, xmax=200, opt='kCanRebin')
from TrigSteerMonitor.TrigSteerMonitorConfig import getTrigErrorMonTool from TrigSteerMonitor.TrigSteerMonitorConfig import getTrigErrorMonTool
self.TrigErrorMonTool = getTrigErrorMonTool() self.TrigErrorMonTool = getTrigErrorMonTool()
......
...@@ -1392,7 +1392,9 @@ HltEventLoopMgr::DrainSchedulerStatusCode HltEventLoopMgr::drainScheduler() ...@@ -1392,7 +1392,9 @@ HltEventLoopMgr::DrainSchedulerStatusCode HltEventLoopMgr::drainScheduler()
StatusCode HltEventLoopMgr::clearWBSlot(size_t evtSlot) const StatusCode HltEventLoopMgr::clearWBSlot(size_t evtSlot) const
{ {
ATH_MSG_VERBOSE("start of " << __FUNCTION__); ATH_MSG_VERBOSE("start of " << __FUNCTION__);
auto monTime = Monitored::Timer<std::chrono::duration<float, std::milli>>("TIME_clearStore");
StatusCode sc = m_whiteboard->clearStore(evtSlot); StatusCode sc = m_whiteboard->clearStore(evtSlot);
Monitored::Group(m_monTool, monTime);
if( !sc.isSuccess() ) { if( !sc.isSuccess() ) {
ATH_MSG_WARNING("Clear of event data store failed"); ATH_MSG_WARNING("Clear of event data store failed");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment