Struct NetworkStatsReadout
What the network statistics overlay knows at one moment: the newest snapshot (for the totals and the connection figures) and the rates smoothed over the last few seconds.
public struct NetworkStatsReadout
- Inherited Members
Remarks
A value, taken once per refresh, so every label and every tooltip written in that refresh describes the same instant. HasRates is false until two snapshots of one averaging window exist; every rate then reads as unknown, never as zero.
Fields
HasRates
True when Rates spans a real interval.
public bool HasRates
Field Value
HasSnapshot
True once at least one snapshot has been taken since the overlay opened.
public bool HasSnapshot
Field Value
Latest
The newest snapshot. Meaningful only when HasSnapshot is true.
public TransportTrafficSnapshot Latest
Field Value
- TransportTrafficSnapshot
Rates
Traffic over the smoothing window. Meaningful only when HasRates is true.
public TransportTrafficRates Rates
Field Value
- TransportTrafficRates
Properties
Empty
A readout with nothing in it: the state before the first sample.
public static NetworkStatsReadout Empty { get; }