Project

General

Profile

Bug #23821

SharedMemoryEventManager::buildStatisticsString has extra factors of 8 in reported sizes

Added by Kurt Biery about 2 months ago. Updated about 2 months ago.

Status:
Reviewed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/02/2020
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

The periodic statistics that are printed out to the logfile (and TRACE) from the EventBuilders by SMEM have larger than expected values. (noticed in artdaq-demo tests on the mu2edaq cluster)

Looking at the SMEM code, it looks like the monitored quantities that are being used in that reporting already include the translation from "words" to bytes, so the factors of sizeof(artdaq::RawDataType) that are included in the calculations in buildStatisticsString appear to be unnecessary.

History

#1 Updated by Kurt Biery about 2 months ago

I'll put a proposed fix on an artdaq:bugfix/23821_EBStatsFix branch.

#2 Updated by Eric Flumerfelt about 2 months ago

  • Assignee set to Kurt Biery
  • Status changed from New to Resolved

#3 Updated by Eric Flumerfelt about 2 months ago

  • Status changed from Resolved to Reviewed
  • Co-Assignees Eric Flumerfelt added

Code review & driver-based testing has been done. Everything looks good. Other usages of same functionality elsewhere in the code are correct.



Also available in: Atom PDF