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

Shared reservation counters, independent of any particular queue. More...

#include <StormByte/buffer/byte_budget.hxx>

Collaboration diagram for StormByte::Buffer::BudgetSnapshot:

Public Attributes

bool Limited {false}
 Aggregate ceiling is active.
StormByte::ByteSize Limit {0}
 Configured aggregate ceiling.
StormByte::ByteSize Reserved {0}
 Live lease charges, including work outside queues.
StormByte::ByteSize Peak {0}
 Lifetime peak reservations.
std::size_t Pressure {0}
 Reservations refused for temporary capacity pressure.
std::size_t Waits {0}
 ReserveFor calls that actually waited.
std::int64_t WaitNanoseconds {0}
 Accumulated ReserveFor wait duration.
bool Closed {false}
 Further reservations are forbidden.

Detailed Description

Shared reservation counters, independent of any particular queue.

Member Data Documentation

◆ Closed

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

Further reservations are forbidden.

◆ Limit

StormByte::ByteSize StormByte::Buffer::BudgetSnapshot::Limit {0}

Configured aggregate ceiling.

◆ Limited

bool StormByte::Buffer::BudgetSnapshot::Limited {false}

Aggregate ceiling is active.

◆ Peak

StormByte::ByteSize StormByte::Buffer::BudgetSnapshot::Peak {0}

Lifetime peak reservations.

◆ Pressure

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

Reservations refused for temporary capacity pressure.

◆ Reserved

StormByte::ByteSize StormByte::Buffer::BudgetSnapshot::Reserved {0}

Live lease charges, including work outside queues.

◆ WaitNanoseconds

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

Accumulated ReserveFor wait duration.

◆ Waits

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

ReserveFor calls that actually waited.


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