Measures one operation with a Base named clock. More...
#include <StormByte/buffer/telemetry.hxx>
Public Member Functions | |
| OperationSample (const OperationSample &)=delete | |
| Copy construction is disabled. | |
| OperationSample (OperationSample &&other) noexcept | |
| OperationSample & | operator= (const OperationSample &)=delete |
| Copy assignment is disabled. | |
| OperationSample & | operator= (OperationSample &&)=delete |
| Move assignment is disabled. | |
| ~OperationSample () noexcept | |
| Stops the clock and records a committed operation. | |
| void | Commit (StormByte::ByteSize bytes) noexcept |
| Includes this sample in the rate calculation. | |
Friends | |
| class | Telemetry |
Measures one operation with a Base named clock.
|
delete |
Copy construction is disabled.
|
noexcept |
@brief Transfers the active sample on its creating thread.
| other | Sample to take. |
|
noexcept |
Stops the clock and records a committed operation.
|
noexcept |
Includes this sample in the rate calculation.
| bytes | Bytes delivered or accepted by the operation. |
|
delete |
Copy assignment is disabled.
|
delete |
Move assignment is disabled.
|
friend |