![]() |
PIP 5.6.1
Platform-Independent Primitives
|
Snapshot of current counters and derived statistics. More...
#include <pidiagnostics.h>
Public Member Functions | |
| State () | |
| Constructs zeroed state with formatted speed strings. | |
Public Attributes | |
| float | immediate_freq = 0.f |
| Latest receive frequency for the current timer interval. | |
| float | integral_freq = 0.f |
| Averaged receive frequency over the disconnect window. | |
| ullong | received_packets_per_sec = 0ull |
| Number of correct received packets per second. | |
| ullong | received_packets = 0ull |
| Total number of correct received packets. | |
| ullong | received_packets_wrong = 0ull |
| Total number of incorrect received packets. | |
| ullong | received_bytes_per_sec = 0ull |
| Number of received bytes per second. | |
| ullong | received_bytes = 0ull |
| Total number of correctly received bytes. | |
| ullong | received_bytes_wrong = 0ull |
| Total number of bytes from incorrect packets. | |
| ullong | sended_packets_per_sec = 0ull |
| Number of sent packets per second. | |
| ullong | sended_packets = 0ull |
| Total number of sent packets. | |
| ullong | sended_bytes_per_sec = 0ull |
| Number of sent bytes per second. | |
| ullong | sended_bytes = 0ull |
| Total number of sent bytes. | |
| PIString | receive_speed |
| Human-readable receive speed string. | |
| PIString | send_speed |
| Human-readable send speed string. | |
| PIDiagnostics::Quality | quality = PIDiagnostics::Unknown |
| Current receive quality category. | |
Snapshot of current counters and derived statistics.