BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
IOStats represents common I/O statistics that are usually measured for performance monitoring. More...
#include <IOStats.h>
Data Structures | |
struct | Data |
Public Member Functions | |
void | written (size_t bytes) |
Notify that the given amount of bytes have been written to an output device as a single PDU. | |
void | read (size_t bytes) |
Notify that the given amount of bytes have been read from an input device as a single PDU. | |
void | lost (size_t bytes) |
Notify that the given amount of bytes representing a single PDU have been lost because of too low processing capacities or because of some policing strategy. | |
Data | data () const |
IOStats represents common I/O statistics that are usually measured for performance monitoring.
IOStats is thread-safe.
Data BeeeOn::IOStats::data | ( | ) | const |
Provide the current statistics data.