Base session counters. More...
#include <StormByte/buffer/telemetry.hxx>

Public Member Functions | |
| virtual | ~Telemetry () noexcept |
| Virtual destructor. | |
| StormByte::ByteSize | MeanRate () const noexcept |
| Effective mean rate of requested user operations. | |
| virtual | operator StormByte::String::String () const =0 |
| Flatten counters. | |
| STORMBYTE_FORCE_INLINE | operator std::string () const |
Flatten via StormByte::String::String in this TU. | |
Protected Member Functions | |
| 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. | |
Friends | |
| class | Bridge |
Base session counters.
Offices call DeltaOperation.
Not wall time from Open. 0 until an operation has a non-zero duration. Flatten prints StormByte::ByteSize IEC text plus "/s".
Rate fields are atomics. DeltaOperation takes no mutex.
|
virtualnoexcept |
Virtual destructor.
Out-of-line for the DLL boundary.
|
protectednoexcept |
Construct all counters at 0.
|
protecteddelete |
|
protecteddelete |
|
protectednoexcept |
Accumulate one requested operation and refresh MeanRate.
| bytes | Octets this operation delivered or accepted. |
| elapsed | Duration of that operation. 0 does not divide. |
|
noexcept |
Effective mean rate of requested user operations.
Not origin throughput.
|
inline |
Flatten via StormByte::String::String in this TU.
std::string on the caller heap.
|
pure virtual |
Flatten counters.
Safe across the DLL boundary.
Implemented in StormByte::Buffer::IO::ReadTelemetry, StormByte::Buffer::IO::WriteTelemetry, StormByte::Buffer::ReadTelemetry, and StormByte::Buffer::WriteTelemetry.
|
friend |