44#include <StormByte/type_traits/safe.hxx>
StormByte::ByteSize m_cached_peak
Maximum Cached.
Definition telemetry.hxx:269
std::size_t SeekOrigin() const noexcept
OriginSeek calls that reached the device.
std::size_t SeekSavedFull() const noexcept
Closed Seek epochs that never called OriginSeek after a cache hit.
std::chrono::nanoseconds WaitMax() const noexcept
Longest sampled Read/Peek wait.
std::size_t SeekSavedPartial() const noexcept
Closed Seek epochs that called OriginSeek after a cache hit.
StormByte::ByteSize m_origin
OriginPull octets this session.
Definition telemetry.hxx:261
std::size_t m_wait_samples
Sampled waits.
Definition telemetry.hxx:317
std::chrono::nanoseconds WaitMin() const noexcept
Shortest sampled Read/Peek wait.
StormByte::ByteSize m_cached
Resident cache now.
Definition telemetry.hxx:265
std::size_t TryAgain() const noexcept
Times Read / Peek returned TryAgain.
std::chrono::nanoseconds m_wait_max
Longest sampled wait.
Definition telemetry.hxx:309
StormByte::ByteSize m_hit_ahead
First-touch cache octets.
Definition telemetry.hxx:249
std::size_t m_seek_saved_full
Epochs with no OriginSeek after a hit.
Definition telemetry.hxx:285
StormByte::ByteSize m_cap
MaxMemory snapshot.
Definition telemetry.hxx:273
std::size_t m_saturated
Cache hit Cap.
Definition telemetry.hxx:297
std::size_t m_seek_saved_partial
Epochs that later needed OriginSeek.
Definition telemetry.hxx:289
std::size_t m_try_again
Read/Peek TryAgain.
Definition telemetry.hxx:293
ReadTelemetry() noexcept
Construct all counters at 0.
StormByte::ByteSize Miss() const noexcept
Of Delivered, octets pulled from the origin in that Read.
std::chrono::nanoseconds m_wait_total
Sum of sampled waits.
Definition telemetry.hxx:313
StormByte::ByteSize CachedPeak() const noexcept
Maximum Cached since construction.
StormByte::ByteSize HitAhead() const noexcept
Of Delivered, cache octets never consumed before.
StormByte::ByteSize m_miss
Pulled from the origin this Read.
Definition telemetry.hxx:257
std::size_t WaitSamples() const noexcept
Sampled waits (work or timed-out TryAgain).
std::size_t Evicted() const noexcept
Cache spans dropped by MaxMemory eviction.
std::size_t m_seek_origin
OriginSeek calls.
Definition telemetry.hxx:281
StormByte::ByteSize Origin() const noexcept
Octets transferred by OriginPull this session.
operator StormByte::Safe::String() const override
Flatten base and IO read counters.
std::size_t m_evicted
Spans dropped by MaxMemory.
Definition telemetry.hxx:301
StormByte::ByteSize Cap() const noexcept
MaxMemory at this snapshot.
std::chrono::nanoseconds WaitTotal() const noexcept
Sum of sampled waits.
StormByte::ByteSize HitBack() const noexcept
Of Delivered, cache octets already passed by Tell.
std::size_t Saturated() const noexcept
Times resident cache reached Cap while Cap > 0.
StormByte::ByteSize m_hit_back
Replay after Seek.
Definition telemetry.hxx:253
friend class StormByte::Buffer::Backend::IO::BufferedReader
Definition telemetry.hxx:244
std::size_t SeekLogical() const noexcept
Successful public Seek calls.
std::chrono::nanoseconds m_wait_min
Shortest sampled wait.
Definition telemetry.hxx:305
std::size_t m_seek_logical
Public Seek calls.
Definition telemetry.hxx:277
StormByte::ByteSize Cached() const noexcept
Resident cache octets now.
std::chrono::nanoseconds m_wait_max
Longest sampled Write wait.
Definition telemetry.hxx:582
StormByte::ByteSize m_behind
Accepted not pushed on the caller thread.
Definition telemetry.hxx:506
StormByte::ByteSize HitBack() const noexcept
Writes that landed in a resident page behind the high-water.
StormByte::ByteSize m_high_water
Max logical Tell since Open/Truncate.
Definition telemetry.hxx:522
StormByte::ByteSize m_dirty
Not yet on the origin.
Definition telemetry.hxx:538
std::size_t m_wait_samples
Sampled waits.
Definition telemetry.hxx:590
std::chrono::nanoseconds WaitMin() const noexcept
Shortest sampled Write wait.
std::size_t TryAgain() const noexcept
Times Write returned TryAgain.
std::size_t SeekOrigin() const noexcept
OriginSeek calls.
StormByte::ByteSize Miss() const noexcept
Writes that created or extended a page.
StormByte::ByteSize DirtyPeak() const noexcept
Maximum Dirty since construction.
std::chrono::nanoseconds m_wait_min
Shortest sampled Write wait.
Definition telemetry.hxx:578
std::size_t m_seek_origin
OriginSeek calls.
Definition telemetry.hxx:554
friend class StormByte::Buffer::Backend::IO::BufferedWriter
Definition telemetry.hxx:501
WriteTelemetry() noexcept
Construct all counters at 0.
std::size_t Saturated() const noexcept
Times Dirty reached Cap while Cap > 0.
std::size_t m_saturated
Dirty reached Cap.
Definition telemetry.hxx:570
StormByte::ByteSize m_cap
Ring cap, or 0 if off.
Definition telemetry.hxx:546
std::chrono::nanoseconds WaitTotal() const noexcept
Sum of sampled waits.
std::size_t m_seek_saved_partial
Epochs that later needed OriginSeek.
Definition telemetry.hxx:562
StormByte::ByteSize Behind() const noexcept
Of Accepted, octets that did not hit the origin on the caller thread.
StormByte::ByteSize m_origin
OriginPush octets.
Definition telemetry.hxx:514
StormByte::ByteSize Materialized() const noexcept
Durable origin length now.
std::size_t SeekLogical() const noexcept
Logical Seek calls (Tell only).
std::size_t m_try_again
Write TryAgain.
Definition telemetry.hxx:566
std::chrono::nanoseconds m_wait_total
Sum of sampled waits.
Definition telemetry.hxx:586
StormByte::ByteSize Dirty() const noexcept
Octets not yet on the origin.
std::chrono::nanoseconds WaitMax() const noexcept
Longest sampled Write wait.
std::size_t m_seek_saved_full
Epochs with no OriginSeek.
Definition telemetry.hxx:558
StormByte::ByteSize m_hit_back
Writes into a page behind high-water.
Definition telemetry.hxx:530
StormByte::ByteSize HitAhead() const noexcept
Writes that landed in a resident page at or after the previous high-water.
StormByte::ByteSize Direct() const noexcept
Of Accepted, octets pushed on the caller thread.
std::size_t SeekSavedPartial() const noexcept
Closed epochs that hit dirty pages and later needed OriginSeek.
StormByte::ByteSize Origin() const noexcept
Octets pushed through OriginPush since construction.
StormByte::ByteSize Cap() const noexcept
Ring cap in bytes at this snapshot.
StormByte::ByteSize m_materialized
Durable origin length now.
Definition telemetry.hxx:518
std::size_t Evicted() const noexcept
Times GC materialised a page because Dirty exceeded MaxMemory.
std::size_t m_evicted
GC materialised a page.
Definition telemetry.hxx:574
StormByte::ByteSize m_hit_ahead
Writes into a page at/after high-water.
Definition telemetry.hxx:526
StormByte::ByteSize m_miss
Writes that created or extended a page.
Definition telemetry.hxx:534
StormByte::ByteSize HighWater() const noexcept
Maximum logical Tell since Open / Truncate.
std::size_t SeekSavedFull() const noexcept
Closed epochs with no OriginSeek.
std::size_t WaitSamples() const noexcept
Sampled waits (accepted Write or timed OriginPush).
StormByte::ByteSize m_direct
Accepted pushed on the caller thread.
Definition telemetry.hxx:510
StormByte::ByteSize m_dirty_peak
Maximum Dirty.
Definition telemetry.hxx:542
std::size_t m_seek_logical
Logical Seek calls.
Definition telemetry.hxx:550
operator StormByte::Safe::String() const override
Flatten base and IO write counters.
Basic read counters.
Definition telemetry.hxx:242
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
PIMPL coordinators for the public IO types.
PIMPL coordinators for public Buffer types that are not IO.
Buffered binary sources and sinks.
Buffer module of the StormByte suite.
Root namespace of the StormByte C++ suite.
#define STORMBYTE_BUFFER_PUBLIC
Definition visibility.h:54