Measures one operation with an independent Base clock sample.
More...
#include <StormByte/buffer/telemetry.hxx>
Measures one operation with an independent Base clock sample.
- Note
- The sample borrows its owning Telemetry; it must not outlive it.
◆ OperationSample() [1/2]
| StormByte::Buffer::Telemetry::OperationSample::OperationSample |
( |
const OperationSample & | | ) |
|
|
delete |
Copy construction is disabled.
◆ OperationSample() [2/2]
| StormByte::Buffer::Telemetry::OperationSample::OperationSample |
( |
OperationSample && | other | ) |
|
|
noexcept |
Transfers the active sample.
- Parameters
-
◆ ~OperationSample()
| StormByte::Buffer::Telemetry::OperationSample::~OperationSample |
( |
| ) |
|
|
noexcept |
Stops the sample and records a committed operation.
◆ Commit()
Includes this sample in the rate calculation.
- Parameters
-
| bytes | Bytes delivered or accepted by the operation. |
◆ operator=() [1/2]
Copy assignment is disabled.
◆ operator=() [2/2]
Move assignment is disabled.
◆ Telemetry
The documentation for this class was generated from the following file: