BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Data Structures | Public Member Functions
BeeeOn::IOStats Class Reference

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
 

Detailed Description

IOStats represents common I/O statistics that are usually measured for performance monitoring.

IOStats is thread-safe.

Member Function Documentation

Data BeeeOn::IOStats::data ( ) const

Provide the current statistics data.


The documentation for this class was generated from the following files: