SatCat5
io_counter.h File Reference

Detailed Description

Inline byte and packet counters for statistics and diagnostics.

As a useful high-level diagnostic, many network interfaces report bytes received, bytes sent, frames received, and frames sent over any given interval. The classes in this file make it easy to add that capability to various SatCat5 interfaces.

Definition in file io_counter.h.

Include dependency graph for io_counter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  satcat5::io::Counter
 Define a generic API for reporting traffic statistics. More...
 
class  satcat5::io::CounterSimple
 Simple implementation of the Counter API. More...
 
class  satcat5::io::CounterInline
 Overlay class for adding counters to any Writeable interface. More...
 
struct  satcat5::io::TrafficStats
 Data structure for combined transmit and receive statistics. More...