StormByte-Buffer 4.0.0
C++26 buffer module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Buffer::QueueSnapshot Struct Reference

Coherent queue accounting; bytes are caller-supplied weights, never RSS. More...

#include <StormByte/buffer/byte_budget.hxx>

Collaboration diagram for StormByte::Buffer::QueueSnapshot:

Public Attributes

QueueLimits Limits
 Configured local bounds.
StormByte::Size Elements {0}
 Currently queued entries.
StormByte::ByteSize Bytes {0}
 Currently queued logical weights.
StormByte::Size PeakElements {0}
 Lifetime peak entries.
StormByte::ByteSize PeakBytes {0}
 Lifetime peak logical bytes.
std::size_t Pressure {0}
 Admissions encountering capacity pressure.
std::size_t Waits {0}
 Admissions that actually waited.
std::int64_t WaitNanoseconds {0}
 Accumulated admission wait duration.
bool Closed {false}
 Production has ended.
bool Exists {false}
 False for a missing Sink key.

Detailed Description

Coherent queue accounting; bytes are caller-supplied weights, never RSS.

Member Data Documentation

◆ Bytes

StormByte::ByteSize StormByte::Buffer::QueueSnapshot::Bytes {0}

Currently queued logical weights.

◆ Closed

bool StormByte::Buffer::QueueSnapshot::Closed {false}

Production has ended.

◆ Elements

StormByte::Size StormByte::Buffer::QueueSnapshot::Elements {0}

Currently queued entries.

◆ Exists

bool StormByte::Buffer::QueueSnapshot::Exists {false}

False for a missing Sink key.

◆ Limits

QueueLimits StormByte::Buffer::QueueSnapshot::Limits

Configured local bounds.

◆ PeakBytes

StormByte::ByteSize StormByte::Buffer::QueueSnapshot::PeakBytes {0}

Lifetime peak logical bytes.

◆ PeakElements

StormByte::Size StormByte::Buffer::QueueSnapshot::PeakElements {0}

Lifetime peak entries.

◆ Pressure

std::size_t StormByte::Buffer::QueueSnapshot::Pressure {0}

Admissions encountering capacity pressure.

◆ WaitNanoseconds

std::int64_t StormByte::Buffer::QueueSnapshot::WaitNanoseconds {0}

Accumulated admission wait duration.

◆ Waits

std::size_t StormByte::Buffer::QueueSnapshot::Waits {0}

Admissions that actually waited.


The documentation for this struct was generated from the following file: