目录

OpenGTX_NetworkLatency

Overview

Describes the current device network latency information. This struct is passed by a game app after obtaining the network latency information. This parameter is typically used to optimize the network latency.

Since: 5.0.0(12)

Related module: GraphicsAccelerate

Header file: opengtx_base.h

Summary

[h2]Member Variables

Name Description
int32_t total Total latency of a game, in ms. The value range is [0, 200].
int32_t up Uplink latency of a game, in ms. The value range is [0, 200].
int32_t down Downlink latency of a game, in ms. The value range is [0, 200].

Struct Member Variable Description

[h2]down

int32_t OpenGTX_NetworkLatency::down

Description

Downlink latency of a game, in ms. The value range is [0, 200].

[h2]total

int32_t OpenGTX_NetworkLatency::total

Description

Total latency of a game, in ms. The value range is [0, 200].

[h2]up

int32_t OpenGTX_NetworkLatency::up

Description

Uplink latency of a game, in ms. The value range is [0, 200].