GetGPUUsageRange 

Gets the minimum and maximum GPU usage on a GPU.

Syntax 

ADLX_RESULT     GetGPUUsageRange (adlx_int* minValue, adlx_int* maxValue)

Parameters 

  1. [out] minValue adlx_int* The pointer to a variable where the minimum GPU usage (in %) is returned.

  2. [out] maxValue adlx_int* The pointer to a variable where the maximum GPU usage (in %) is returned.

Return Value 

If the GPU usage range is successfully returned, ADLX_OK is returned.

If the GPU usage range is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks 

The minimum and maximum GPU usage are read only.

Requirements 

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0