GetPowerLimit 

Gets the current power limit of a GPU.

Syntax 

ADLX_RESULT     GetPowerLimit (adlx_int* curVal)

Parameters 

  1. [out] curVal adlx_int* The pointer to a variable where the manual power limit value (in %) is returned.

Return Value 

If the power limit value is successfully returned, ADLX_OK is returned.

If the power limit value is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info 

A higher power limit increases performance headroom.

Requirements 

Header

include “IGPUManualPowerTuning.h”

Minimum version

1.0