Struct QosAnnotatedResult
Represents the results of QoS measurements for a given region.
Inherited Members
Namespace: Unity.Services.Qos.Runner
Syntax
public struct QosAnnotatedResult
Fields
Annotations
The results annotations.
Declaration
public Dictionary<string, List<string>> Annotations
Field Value
Type | Description |
---|---|
Dictionary<String, List<String>> | A dictionary of additional information. |
AverageLatencyMs
Average latency of QoS measurements to the region.
Declaration
public int AverageLatencyMs
Field Value
Type | Description |
---|---|
Int32 | A positive integer, in milliseconds. |
Remarks
The latency is determined by measuring the time between sending a packet and receiving the response for that packet, then taking the average for all responses received. Only packets for which a response was received are considered in the calculation.
PacketLossPercent
Percentage of packet loss observed in QoS measurements to the region.
Declaration
public float PacketLossPercent
Field Value
Type | Description |
---|---|
Single | A positive flow value. The range is 0.0f - 1.0f (0 - 100%). |
Remarks
Packet loss is determined by counting the number of packets for which a response was received from the QoS server, then taking the percentage based on the total number of packets sent.
Region
The identifier for the service's region used in this set of QoS measurements.
Declaration
public string Region
Field Value
Type | Description |
---|---|
String | A string containing the region name. |