Struct BandwidthStatistics
Structure holding bandwidth-related statistics for the driver and that is returned through GetStatistics(). All values are in kbit/s.
Inherited Members
Namespace: Unity.Networking.Transport.Analytics
Assembly: Unity.Networking.Transport.dll
Syntax
public struct BandwidthStatistics
Fields
Current
Bandwidth usage over the last second.
Declaration
public float Current
Field Value
| Type | Description |
|---|---|
| float | Bandwidth in kbit/s. |
Maximum
Maximum bandwidth seen over a complete 1-second period.
Declaration
public float Maximum
Field Value
| Type | Description |
|---|---|
| float | Bandwidth in kbit/s. 0 if less than 1 second of data has been collected. |
MaximumBurst
Maximum bandwidth seen over a single update of the driver.
Declaration
public float MaximumBurst
Field Value
| Type | Description |
|---|---|
| float | Bandwidth in kbit/s. |
Mean
Average bandwidth usage over the lifetime of the driver.
Declaration
public float Mean
Field Value
| Type | Description |
|---|---|
| float | Bandwidth in kbit/s. |
Minimum
Minimum bandwidth seen over a complete 1-second period.
Declaration
public float Minimum
Field Value
| Type | Description |
|---|---|
| float | Bandwidth in kbit/s. 0 if less than 1 second of data has been collected. |