Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
LHCb
LHCb
Commits
5086a00e
Commit
5086a00e
authored
1 year ago
by
Rosen Matev
Browse files
Options
Downloads
Plain Diff
Merge branch 'unpacker-fix-counter' into 'master'
Unpacker: fix counter usage See merge request
!4147
parents
2179b525
c912d33e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!4147
Unpacker: fix counter usage
Pipeline
#5816835
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Event/EventPacker/src/component/BufferUnpackerBaseAlg.h
+3
-2
3 additions, 2 deletions
Event/EventPacker/src/component/BufferUnpackerBaseAlg.h
with
3 additions
and
2 deletions
Event/EventPacker/src/component/BufferUnpackerBaseAlg.h
+
3
−
2
View file @
5086a00e
...
...
@@ -70,6 +70,7 @@ namespace LHCb::Hlt::PackedData {
Gaudi
::
Accumulators
::
MsgCounter
<
MSG
::
WARNING
>
missing_dependency
;
Gaudi
::
Accumulators
::
BinomialCounter
<>
nothing_to_do
;
Gaudi
::
Accumulators
::
SummingCounter
<
unsigned
int
>
nbUnpackedData
;
Gaudi
::
Accumulators
::
SummingCounter
<
unsigned
int
>
sizeBuffer
;
Gaudi
::
Accumulators
::
SummingCounter
<
unsigned
int
>
nbBufferData
;
Gaudi
::
Accumulators
::
SummingCounter
<
unsigned
int
>
nbLinkedBufferData
;
Gaudi
::
Accumulators
::
SummingCounter
<
unsigned
int
>
missingLinks
;
...
...
@@ -86,6 +87,7 @@ namespace LHCb::Hlt::PackedData {
,
missing_dependency
{
parent
,
"DstData buffer for dependency not available - unable to unpack"
,
0
}
,
nothing_to_do
{
parent
,
"Target data already present"
}
,
nbUnpackedData
{
parent
,
"# UnpackedData"
}
,
sizeBuffer
{
parent
,
"Buffer size"
}
,
nbBufferData
{
parent
,
"# BufferData"
}
,
nbLinkedBufferData
{
parent
,
"# Linked BufferData"
}
,
missingLinks
{
parent
,
"# Missing Link Locations"
}
...
...
@@ -442,8 +444,7 @@ namespace DataPacking::Buffer {
}
else
{
// Count unpacked output
m_counters
.
nbUnpackedData
+=
size
(
**
obj
);
m_counters
.
nbUnpackedData
+=
buffer
->
buffer
().
size
();
// BUG: FIXME: backwards bug-compatible. TODO: this must be a different counter..
m_counters
.
sizeBuffer
+=
buffer
->
buffer
().
size
();
m_data
.
put
(
std
::
move
(
*
obj
)
);
}
...
...
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