Project

General

Profile

Bug #24437

documentation bug - QuickVec alignment should be documented

Added by Ron Rechenmacher 5 months ago. Updated 5 months ago.

Status:
Reviewed
Priority:
Normal
Category:
-
Target version:
-
Start date:
05/19/2020
Due date:
% Done:

0%

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

Description

Our binary output module supports direct I/O (O_DIRECT) which requires buffers be 512-byte aligned.
QuickVec.h uses posix_memalign with 512 byte alignment, but if one is looking at just QuickVec.h, they
would likely not know the reason.


Related issues

Related to artdaq - Support #24439: Use new[] with align parameter in QuickVec to silence Valgrind error in ROOTNew05/19/2020

Associated revisions

Revision e549da37 (diff)
Added by Ron Rechenmacher 5 months ago

comment only - Ref. issue #24437

Revision c157912c (diff)
Added by Ron Rechenmacher 5 months ago

comment only - Ref. issue #24437

History

#1 Updated by Ron Rechenmacher 5 months ago

  • Status changed from New to Resolved

added comments to:
artdaq-core/Core/QuickVec.hh
artdaq/ArtModules/BinaryFileOutput_module.cc

#2 Updated by Ron Rechenmacher 5 months ago

  • Status changed from Resolved to Reviewed

comments only

#3 Updated by Ron Rechenmacher 5 months ago

  • Related to Support #24439: Use new[] with align parameter in QuickVec to silence Valgrind error in ROOT added


Also available in: Atom PDF