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


Public Member Functions | |
| WriteTelemetry () noexcept | |
| Construct all counters at 0. | |
| WriteTelemetry (const WriteTelemetry &)=delete | |
| Copy constructor is deleted. | |
| WriteTelemetry (WriteTelemetry &&)=delete | |
| Move constructor is deleted. | |
| virtual | ~WriteTelemetry () noexcept override |
| Virtual destructor. | |
| WriteTelemetry & | operator= (const WriteTelemetry &)=delete |
| Copy assignment is deleted. | |
| WriteTelemetry & | operator= (WriteTelemetry &&)=delete |
| Move assignment is deleted. | |
| StormByte::ByteSize | Behind () const noexcept |
| Of Accepted, octets that did not hit the origin on the caller thread. | |
| StormByte::ByteSize | Direct () const noexcept |
| Of Accepted, octets pushed on the caller thread. | |
| StormByte::ByteSize | Origin () const noexcept |
| Octets pushed through OriginPush since construction. | |
| StormByte::ByteSize | Materialized () const noexcept |
| Durable origin length now. | |
| StormByte::ByteSize | HighWater () const noexcept |
| Maximum logical Tell since Open / Truncate. | |
| StormByte::ByteSize | HitAhead () const noexcept |
| Writes that landed in a resident page at or after the previous high-water. | |
| StormByte::ByteSize | HitBack () const noexcept |
| Writes that landed in a resident page behind the high-water. | |
| StormByte::ByteSize | Miss () const noexcept |
| Writes that created or extended a page. | |
| StormByte::ByteSize | Dirty () const noexcept |
| Octets not yet on the origin. | |
| StormByte::ByteSize | DirtyPeak () const noexcept |
| Maximum Dirty since construction. | |
| StormByte::ByteSize | Cap () const noexcept |
| Ring cap in bytes at this snapshot. | |
| std::size_t | SeekLogical () const noexcept |
| Logical Seek calls (Tell only). | |
| std::size_t | SeekOrigin () const noexcept |
| OriginSeek calls. | |
| std::size_t | SeekSavedFull () const noexcept |
| Closed epochs with no OriginSeek. | |
| std::size_t | SeekSavedPartial () const noexcept |
| Closed epochs that hit dirty pages and later needed OriginSeek. | |
| std::size_t | TryAgain () const noexcept |
| Times Write returned TryAgain. | |
| std::size_t | Saturated () const noexcept |
| Times Dirty reached Cap while Cap > 0. | |
| std::size_t | Evicted () const noexcept |
| Times GC materialised a page because Dirty exceeded MaxMemory. | |
| std::chrono::nanoseconds | WaitMin () const noexcept |
| Shortest sampled Write wait. | |
| std::chrono::nanoseconds | WaitMax () const noexcept |
| Longest sampled Write wait. | |
| std::chrono::nanoseconds | WaitTotal () const noexcept |
| Sum of sampled waits. | |
| std::size_t | WaitSamples () const noexcept |
| Sampled waits (accepted Write or timed OriginPush). | |
| operator StormByte::String::String () const override | |
| Flatten base and IO write counters. | |
Public Member Functions inherited from StormByte::Buffer::WriteTelemetry | |
| WriteTelemetry () noexcept | |
| Construct all counters at 0. | |
| WriteTelemetry (const WriteTelemetry &)=delete | |
| WriteTelemetry (WriteTelemetry &&)=delete | |
| WriteTelemetry & | operator= (const WriteTelemetry &)=delete |
| WriteTelemetry & | operator= (WriteTelemetry &&)=delete |
| StormByte::ByteSize | Accepted () const noexcept |
| Octets accepted by a successful write. | |
| operator StormByte::String::String () const override | |
| Flatten base write 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_behind |
| Accepted not pushed on the caller thread. | |
| StormByte::ByteSize | m_direct |
| Accepted pushed on the caller thread. | |
| StormByte::ByteSize | m_origin |
| OriginPush octets. | |
| StormByte::ByteSize | m_materialized |
| Durable origin length now. | |
| StormByte::ByteSize | m_high_water |
| Max logical Tell since Open/Truncate. | |
| StormByte::ByteSize | m_hit_ahead |
| Writes into a page at/after high-water. | |
| StormByte::ByteSize | m_hit_back |
| Writes into a page behind high-water. | |
| StormByte::ByteSize | m_miss |
| Writes that created or extended a page. | |
| StormByte::ByteSize | m_dirty |
| Not yet on the origin. | |
| StormByte::ByteSize | m_dirty_peak |
| Maximum Dirty. | |
| StormByte::ByteSize | m_cap |
| Ring cap, or 0 if off. | |
| std::size_t | m_seek_logical |
| Logical Seek calls. | |
| std::size_t | m_seek_origin |
| OriginSeek calls. | |
| std::size_t | m_seek_saved_full |
| Epochs with no OriginSeek. | |
| std::size_t | m_seek_saved_partial |
| Epochs that later needed OriginSeek. | |
| std::size_t | m_try_again |
| Write TryAgain. | |
| std::size_t | m_saturated |
| Dirty reached Cap. | |
| std::size_t | m_evicted |
| GC materialised a page. | |
| std::chrono::nanoseconds | m_wait_min |
| Shortest sampled Write wait. | |
| std::chrono::nanoseconds | m_wait_max |
| Longest sampled Write 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::WriteTelemetry | |
| StormByte::ByteSize | m_accepted |
| Octets accepted. | |
Friends | |
| class | StormByte::Buffer::Backend::IO::BufferedWriter |
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. | |
Writer counters on top of StormByte::Buffer::WriteTelemetry.
Same fields as BufferedWriter::Telemetry in SHA c1d44cb. StormByte::Buffer::Backend::IO::BufferedWriter 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::WriteTelemetry.
|
noexcept |
Of Accepted, octets that did not hit the origin on the caller thread.
|
noexcept |
|
noexcept |
Of Accepted, octets pushed on the caller thread.
|
noexcept |
Octets not yet on the origin.
|
noexcept |
Maximum Dirty since construction.
|
noexcept |
Times GC materialised a page because Dirty exceeded MaxMemory.
|
noexcept |
Maximum logical Tell since Open / Truncate.
|
noexcept |
Writes that landed in a resident page at or after the previous high-water.
|
noexcept |
Writes that landed in a resident page behind the high-water.
|
noexcept |
Durable origin length now.
|
noexcept |
Writes that created or extended a page.
|
overridevirtual |
Flatten base and IO write counters.
Implements StormByte::Buffer::Telemetry.
|
delete |
Copy assignment is deleted.
|
delete |
Move assignment is deleted.
|
noexcept |
Octets pushed through OriginPush since construction.
|
noexcept |
Times Dirty reached Cap while Cap > 0.
|
noexcept |
Logical Seek calls (Tell only).
|
noexcept |
OriginSeek calls.
|
noexcept |
Closed epochs with no OriginSeek.
|
noexcept |
Closed epochs that hit dirty pages and later needed OriginSeek.
|
noexcept |
Times Write returned TryAgain.
|
noexcept |
Longest sampled Write wait.
|
noexcept |
Shortest sampled Write wait.
|
noexcept |
Sampled waits (accepted Write or timed OriginPush).
|
noexcept |
Sum of sampled waits.
|
friend |
|
protected |
Accepted not pushed on the caller thread.
|
protected |
Ring cap, or 0 if off.
|
protected |
Accepted pushed on the caller thread.
|
protected |
Not yet on the origin.
|
protected |
Maximum Dirty.
|
protected |
GC materialised a page.
|
protected |
Max logical Tell since Open/Truncate.
|
protected |
Writes into a page at/after high-water.
|
protected |
Writes into a page behind high-water.
|
protected |
Durable origin length now.
|
protected |
Writes that created or extended a page.
|
protected |
OriginPush octets.
|
protected |
Dirty reached Cap.
|
protected |
Logical Seek calls.
|
protected |
OriginSeek calls.
|
protected |
Epochs with no OriginSeek.
|
protected |
Epochs that later needed OriginSeek.
|
protected |
Write TryAgain.
|
protected |
Longest sampled Write wait.
|
protected |
Shortest sampled Write wait.
|
protected |
Sampled waits.
|
protected |
Sum of sampled waits.