R-Type 0.1
Loading...
Searching...
No Matches
NetworkMetrics Struct Reference

Traffic and latency counters of a network endpoint. More...

#include <metrics/Metrics.hpp>

Public Attributes

float rtt = 0.0f
 Last round trip time sample.
 
float smoothRtt = 0.0f
 Exponentially smoothed round trip time.
 
float previousRtt = 0.0f
 Round trip time sample before the last one.
 
float jitter = 0.0f
 
float packetLossPercentage = 0.0f
 Lost packets over all packets, in percent.
 
uint32_t retransmissions = 0
 Number of resent packets.
 
uint64_t bytesSent = 0
 Total bytes sent.
 
uint64_t bytesReceived = 0
 Total bytes received.
 
uint64_t packetsSent = 0
 Total datagrams sent.
 
uint64_t packetsReceived = 0
 Total datagrams received.
 
uint64_t packetsLost = 0
 Datagrams known to be lost.
 
uint64_t packetsDuplicated = 0
 Datagrams received twice.
 
uint64_t packetsOut = 0
 Datagrams received out of order.
 

Detailed Description

Traffic and latency counters of a network endpoint.

Member Data Documentation

◆ jitter

float NetworkMetrics::jitter = 0.0f

Smoothed variation between samples.