group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
NetworkStats Struct Reference

Live network statistics updated each frame. More...

#include <Client.hpp>

Public Attributes

float rttMs = 0.0f
 Latest round-trip time (ms).
float avgRttMs = 0.0f
 Exponential moving average RTT (ms).
uint64_t bytesRecvTotal = 0
 Total bytes received since connection.
uint64_t bytesSentTotal = 0
 Total bytes sent since connection.
float recvBytesPerSec = 0.0f
 Receive bandwidth (bytes/sec, smoothed).
float sendBytesPerSec = 0.0f
 Send bandwidth (bytes/sec, smoothed).
uint32_t registryUpdateSize = 0
 Last registry update payload size (bytes).
float registryUpdatesPerSec = 0.0f
 Registry updates received per second.

Detailed Description

Live network statistics updated each frame.

Member Data Documentation

◆ avgRttMs

float NetworkStats::avgRttMs = 0.0f

Exponential moving average RTT (ms).

◆ bytesRecvTotal

uint64_t NetworkStats::bytesRecvTotal = 0

Total bytes received since connection.

◆ bytesSentTotal

uint64_t NetworkStats::bytesSentTotal = 0

Total bytes sent since connection.

◆ recvBytesPerSec

float NetworkStats::recvBytesPerSec = 0.0f

Receive bandwidth (bytes/sec, smoothed).

◆ registryUpdateSize

uint32_t NetworkStats::registryUpdateSize = 0

Last registry update payload size (bytes).

◆ registryUpdatesPerSec

float NetworkStats::registryUpdatesPerSec = 0.0f

Registry updates received per second.

◆ rttMs

float NetworkStats::rttMs = 0.0f

Latest round-trip time (ms).

◆ sendBytesPerSec

float NetworkStats::sendBytesPerSec = 0.0f

Send bandwidth (bytes/sec, smoothed).


The documentation for this struct was generated from the following file: