Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
924f6600
Commit
924f6600
authored
4 years ago
by
Rafal Bielski
Browse files
Options
Downloads
Patches
Plain Diff
HltEventLoopMgr: Add timing histogram for clearStore() calls
parent
baea16e0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
HLT/Trigger/TrigControl/TrigServices/python/TrigServicesConfig.py
+7
-0
7 additions, 0 deletions
...ger/TrigControl/TrigServices/python/TrigServicesConfig.py
HLT/Trigger/TrigControl/TrigServices/src/HltEventLoopMgr.cxx
+2
-0
2 additions, 0 deletions
HLT/Trigger/TrigControl/TrigServices/src/HltEventLoopMgr.cxx
with
9 additions
and
0 deletions
HLT/Trigger/TrigControl/TrigServices/python/TrigServicesConfig.py
+
7
−
0
View file @
924f6600
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
HLT/Trigger/TrigControl/TrigServices/src/HltEventLoopMgr.cxx
+
2
−
0
View file @
924f6600
...
@@ -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"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment