Reader counters on top of StormByte::Buffer::ReadTelemetry. More...
#include <StormByte/buffer/io/telemetry.hxx>


Public Member Functions | |
| ReadTelemetry () noexcept | |
| Construct all counters at 0. | |
| ReadTelemetry (const ReadTelemetry &)=delete | |
| Copy constructor is deleted. | |
| ReadTelemetry (ReadTelemetry &&)=delete | |
| Move constructor is deleted. | |
| virtual | ~ReadTelemetry () noexcept override |
| Virtual destructor. | |
| ReadTelemetry & | operator= (const ReadTelemetry &)=delete |
| Copy assignment is deleted. | |
| ReadTelemetry & | operator= (ReadTelemetry &&)=delete |
| Move assignment is deleted. | |
| StormByte::ByteSize | HitAhead () const noexcept |
| Of Delivered, cache octets never consumed before. | |
| StormByte::ByteSize | HitBack () const noexcept |
| Of Delivered, cache octets already passed by Tell. | |
| StormByte::ByteSize | Miss () const noexcept |
| Of Delivered, octets pulled from the origin in that Read. | |
| StormByte::ByteSize | Origin () const noexcept |
| Octets transferred by OriginPull this session. | |
| StormByte::ByteSize | Cached () const noexcept |
| Resident cache octets now. | |
| StormByte::ByteSize | CachedPeak () const noexcept |
| Maximum Cached since construction. | |
| StormByte::ByteSize | Cap () const noexcept |
| MaxMemory at this snapshot. | |
| std::size_t | SeekLogical () const noexcept |
| Successful public Seek calls. | |
| 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::size_t | SeekSavedPartial () const noexcept |
| Closed Seek epochs that called OriginSeek after a cache hit. | |
| std::size_t | TryAgain () const noexcept |
| Times Read / Peek returned TryAgain. | |
| std::size_t | Saturated () const noexcept |
| Times resident cache reached Cap while Cap > 0. | |
| std::size_t | Evicted () const noexcept |
| Cache spans dropped by MaxMemory eviction. | |
| std::chrono::nanoseconds | WaitMin () const noexcept |
| Shortest sampled Read/Peek wait. | |
| std::chrono::nanoseconds | WaitMax () const noexcept |
| Longest sampled Read/Peek wait. | |
| std::chrono::nanoseconds | WaitTotal () const noexcept |
| Sum of sampled waits. | |
| std::size_t | WaitSamples () const noexcept |
| Sampled waits (work or timed-out TryAgain). | |
| operator StormByte::String::String () const override | |
| Flatten base and IO read counters. | |
Public Member Functions inherited from StormByte::Buffer::ReadTelemetry | |
| ReadTelemetry () noexcept | |
| Construct all counters at 0. | |
| ReadTelemetry (const ReadTelemetry &)=delete | |
| ReadTelemetry (ReadTelemetry &&)=delete | |
| ReadTelemetry & | operator= (const ReadTelemetry &)=delete |
| ReadTelemetry & | operator= (ReadTelemetry &&)=delete |
| StormByte::ByteSize | Delivered () const noexcept |
| Octets delivered to the caller. | |
| operator StormByte::String::String () const override | |
| Flatten base read counters. | |
Public Member Functions inherited from StormByte::Buffer::Telemetry | |
| virtual | ~Telemetry () noexcept |
| Virtual destructor. | |
| StormByte::ByteSize | MeanRate () const noexcept |
| Effective mean rate of requested user operations. | |
| STORMBYTE_FORCE_INLINE | operator std::string () const |
Flatten via StormByte::String::String in this TU. | |
Protected Attributes | |
| StormByte::ByteSize | m_hit_ahead |
| First-touch cache octets. | |
| StormByte::ByteSize | m_hit_back |
| Replay after Seek. | |
| StormByte::ByteSize | m_miss |
| Pulled from the origin this Read. | |
| StormByte::ByteSize | m_origin |
| OriginPull octets this session. | |
| StormByte::ByteSize | m_cached |
| Resident cache now. | |
| StormByte::ByteSize | m_cached_peak |
| Maximum Cached. | |
| StormByte::ByteSize | m_cap |
| MaxMemory snapshot. | |
| std::size_t | m_seek_logical |
| Public Seek calls. | |
| std::size_t | m_seek_origin |
| OriginSeek calls. | |
| std::size_t | m_seek_saved_full |
| Epochs with no OriginSeek after a hit. | |
| std::size_t | m_seek_saved_partial |
| Epochs that later needed OriginSeek. | |
| std::size_t | m_try_again |
| Read/Peek TryAgain. | |
| std::size_t | m_saturated |
| Cache hit Cap. | |
| std::size_t | m_evicted |
| Spans dropped by MaxMemory. | |
| std::chrono::nanoseconds | m_wait_min |
| Shortest sampled wait. | |
| std::chrono::nanoseconds | m_wait_max |
| Longest sampled wait. | |
| std::chrono::nanoseconds | m_wait_total |
| Sum of sampled waits. | |
| std::size_t | m_wait_samples |
| Sampled waits. | |
Protected Attributes inherited from StormByte::Buffer::ReadTelemetry | |
| StormByte::ByteSize | m_delivered |
| Octets delivered. | |
Friends | |
| class | StormByte::Buffer::Backend::IO::BufferedReader |
Additional Inherited Members | |
Protected Member Functions inherited from StormByte::Buffer::Telemetry | |
| Telemetry () noexcept | |
| Construct all counters at 0. | |
| Telemetry (const Telemetry &)=delete | |
| Telemetry (Telemetry &&)=delete | |
| Telemetry & | operator= (const Telemetry &)=delete |
| Telemetry & | operator= (Telemetry &&)=delete |
| void | DeltaOperation (StormByte::ByteSize bytes, std::chrono::microseconds elapsed) noexcept |
| Accumulate one requested operation and refresh MeanRate. | |
Reader counters on top of StormByte::Buffer::ReadTelemetry.
Same fields as BufferedReader::Telemetry in SHA c1d44cb. StormByte::Buffer::Backend::IO::BufferedReader writes them. MeanRate is the caller rate, not the origin rate.
|
noexcept |
Construct all counters at 0.
|
delete |
Copy constructor is deleted.
|
delete |
Move constructor is deleted.
|
overridevirtualnoexcept |
Virtual destructor.
Out-of-line for the DLL boundary.
Reimplemented from StormByte::Buffer::ReadTelemetry.
|
noexcept |
Resident cache octets now.
|
noexcept |
Maximum Cached since construction.
|
noexcept |
MaxMemory at this snapshot.
|
noexcept |
Cache spans dropped by MaxMemory eviction.
|
noexcept |
Of Delivered, cache octets never consumed before.
|
noexcept |
Of Delivered, cache octets already passed by Tell.
|
noexcept |
Of Delivered, octets pulled from the origin in that Read.
|
overridevirtual |
Flatten base and IO read counters.
Implements StormByte::Buffer::Telemetry.
|
delete |
Copy assignment is deleted.
|
delete |
Move assignment is deleted.
|
noexcept |
Octets transferred by OriginPull this session.
|
noexcept |
Times resident cache reached Cap while Cap > 0.
|
noexcept |
Successful public Seek calls.
|
noexcept |
OriginSeek calls that reached the device.
|
noexcept |
Closed Seek epochs that never called OriginSeek after a cache hit.
|
noexcept |
Closed Seek epochs that called OriginSeek after a cache hit.
|
noexcept |
Times Read / Peek returned TryAgain.
|
noexcept |
Longest sampled Read/Peek wait.
|
noexcept |
Shortest sampled Read/Peek wait.
|
noexcept |
Sampled waits (work or timed-out TryAgain).
|
noexcept |
Sum of sampled waits.
|
friend |
|
protected |
Resident cache now.
|
protected |
Maximum Cached.
|
protected |
MaxMemory snapshot.
|
protected |
Spans dropped by MaxMemory.
|
protected |
First-touch cache octets.
|
protected |
Replay after Seek.
|
protected |
Pulled from the origin this Read.
|
protected |
OriginPull octets this session.
|
protected |
Cache hit Cap.
|
protected |
Public Seek calls.
|
protected |
OriginSeek calls.
|
protected |
Epochs with no OriginSeek after a hit.
|
protected |
Epochs that later needed OriginSeek.
|
protected |
Read/Peek TryAgain.
|
protected |
Longest sampled wait.
|
protected |
Shortest sampled wait.
|
protected |
Sampled waits.
|
protected |
Sum of sampled waits.