Contents

SushiEngine::Logging::SpscByteRing

peek_size

std::size_t peek_size() const noexcept

Returns

std::size_t

Description

Returns the size of the oldest record, or 0 when the ring is empty.

Precondition

Called only from the consumer thread.