|
R-Type
Networked shoot'em up built on Aegis2D
|
What the client received from the server over the last NetworkStats::window. More...
#include </__w/project-rtype/project-rtype/client/network/include/rtype/network_stats.hpp>
Public Attributes | |
| std::uint32_t | received = 0 |
| Datagrams received, each sequence counted once. | |
| std::uint32_t | lost = 0 |
| Sequences missing between the oldest and the newest received. | |
| double | loss = 0.0 |
| Share of the datagrams lost, from 0 to 1: lost / (received + lost). | |
| std::uint32_t | snapshots = 0 |
Snapshot datagrams received. | |
| std::chrono::steady_clock::duration | snapshot_interval {} |
| Mean time between two snapshots, 0 with fewer than two. | |
| std::chrono::steady_clock::duration | snapshot_jitter {} |
| Mean distance of each interval between two snapshots from their mean: how irregularly the snapshots arrive. 0 with fewer than three snapshots. | |
What the client received from the server over the last NetworkStats::window.
| double rtype::NetworkSummary::loss = 0.0 |
Share of the datagrams lost, from 0 to 1: lost / (received + lost).
| std::uint32_t rtype::NetworkSummary::lost = 0 |
Sequences missing between the oldest and the newest received.
| std::uint32_t rtype::NetworkSummary::received = 0 |
Datagrams received, each sequence counted once.
| std::chrono::steady_clock::duration rtype::NetworkSummary::snapshot_interval {} |
Mean time between two snapshots, 0 with fewer than two.
| std::chrono::steady_clock::duration rtype::NetworkSummary::snapshot_jitter {} |
Mean distance of each interval between two snapshots from their mean: how irregularly the snapshots arrive. 0 with fewer than three snapshots.
| std::uint32_t rtype::NetworkSummary::snapshots = 0 |
Snapshot datagrams received.