Struct UnreliableSequencedPipelineStage.Statistics
Stores Unreliable
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
public struct UnreliableSequencedPipelineStage.Statistics
Fields
NumPacketsCulledOutOfOrder
Counts the number of packets dropped (i.e. "culled") due to invalid SequenceId. I.e. Implies the packet arrived, but after the one(s) before it.
Declaration
public ulong NumPacketsCulledOutOfOrder
Field Value
Type | Description |
---|---|
ulong |
NumPacketsDroppedNeverArrived
Detects gaps in SequenceId to determine real packet loss.
Declaration
public ulong NumPacketsDroppedNeverArrived
Field Value
Type | Description |
---|---|
ulong |
NumPacketsReceived
Count of total packets processed through this stage.
Declaration
public ulong NumPacketsReceived
Field Value
Type | Description |
---|---|
ulong |
NumPacketsSent
Count of total packets processed through this stage.
Declaration
public ulong NumPacketsSent
Field Value
Type | Description |
---|---|
ulong |
Properties
CombinedPacketLossPercent
Percentage of all packets - that we assume must have been sent to us (based on SequenceId) - which are dropped (for either reason).
Declaration
public double CombinedPacketLossPercent { get; }
Property Value
Type | Description |
---|---|
double |
NetworkPacketLossPercent
Percentage of all packets - that we assume must have been sent to us (based on SequenceId) - which are lost due to network-caused packet loss.
Declaration
public double NetworkPacketLossPercent { get; }
Property Value
Type | Description |
---|---|
double |
OutOfOrderPacketLossPercent
Percentage of all packets - that we assume must have been sent to us (based on SequenceId) - which are lost due to arriving out of order (and thus being culled).
Declaration
public double OutOfOrderPacketLossPercent { get; }
Property Value
Type | Description |
---|---|
double |
Methods
ToFixedString()
Pretty-printed statistics.
Declaration
public FixedString512Bytes ToFixedString()
Returns
Type | Description |
---|---|
Fixed |
Pretty-printed statistics. |
ToString()
Pretty-printed statistics.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | Pretty-printed statistics. |