Struct UnreliableSequencedPipelineStage.Statistics
Stores UnreliableSequencedPipelineStage statistics.
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
public struct UnreliableSequencedPipelineStage.StatisticsFields
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 NumPacketsCulledOutOfOrderField Value
| Type | Description | 
|---|---|
| ulong | 
NumPacketsDroppedNeverArrived
Detects gaps in SequenceId to determine real packet loss.
Declaration
public ulong NumPacketsDroppedNeverArrivedField Value
| Type | Description | 
|---|---|
| ulong | 
NumPacketsReceived
Count of total packets processed through this stage.
Declaration
public ulong NumPacketsReceivedField Value
| Type | Description | 
|---|---|
| ulong | 
NumPacketsSent
Count of total packets processed through this stage.
Declaration
public ulong NumPacketsSentField 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 | 
|---|---|
| FixedString512Bytes | Pretty-printed statistics. | 
ToString()
Pretty-printed statistics.
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| string | Pretty-printed statistics. |