768-byte slot header with layout fields, sequence and metadata on separate 128-byte boundaries. The fixed padding is part of the shared-memory ABI and must not depend on compiler CPU tuning.
More...
#include <Flow.hpp>
|
| std::uint64_t | infoWords [sizeof(mxlEventInfo)/sizeof(std::uint64_t)] |
| | Public metadata accessed through atomic words.
|
| std::uint8_t | layoutPadding [128 - 2 *sizeof(std::uint32_t)] |
| | Explicit padding to the sequence cache line.
|
| std::uint64_t | sequence |
| | Atomic tag: index shifted left one bit, low bit set after publication; EMPTY if unused.
|
| std::uint8_t | sequencePadding [128 - sizeof(std::uint64_t)] |
| | Explicit padding to the metadata cache line.
|
| std::uint32_t | size |
| | Immutable size of EventHeader in bytes.
|
| std::uint32_t | version |
| | Immutable EventRingBuffer storage version.
|
768-byte slot header with layout fields, sequence and metadata on separate 128-byte boundaries. The fixed padding is part of the shared-memory ABI and must not depend on compiler CPU tuning.
Definition at line 67 of file Flow.hpp.
◆ infoWords
| std::uint64_t mxl::lib::EventHeader::infoWords[sizeof(mxlEventInfo)/sizeof(std::uint64_t)] |
Public metadata accessed through atomic words.
Definition at line 80 of file Flow.hpp.
◆ layoutPadding
| std::uint8_t mxl::lib::EventHeader::layoutPadding[128 - 2 *sizeof(std::uint32_t)] |
Explicit padding to the sequence cache line.
Definition at line 74 of file Flow.hpp.
◆ sequence
| std::uint64_t mxl::lib::EventHeader::sequence |
Atomic tag: index shifted left one bit, low bit set after publication; EMPTY if unused.
Definition at line 76 of file Flow.hpp.
◆ sequencePadding
| std::uint8_t mxl::lib::EventHeader::sequencePadding[128 - sizeof(std::uint64_t)] |
Explicit padding to the metadata cache line.
Definition at line 78 of file Flow.hpp.
◆ size
| std::uint32_t mxl::lib::EventHeader::size |
◆ version
| std::uint32_t mxl::lib::EventHeader::version |
The documentation for this struct was generated from the following file:
- lib/internal/include/mxl-internal/Flow.hpp