Skip to content

GetGPUPowerRange

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXGPUMetricsSupport

Syntax

ADLX_RESULT    GetGPUPowerRange (adlx_int* minValue, adlx_int* maxValue)

Parameters

#DirectionNameTypeDescription
1.[out]minValueadlx_int*The pointer to a variable where the minimum GPU power consumption (in W) is returned.
#DirectionNameTypeDescription
---------------
2.[out]maxValueadlx_int*The pointer to a variable where the maximum GPU power consumption (in W) is returned.

Return Value

If the GPU power consumption range is successfully returned, ADLX_OK is returned.

If the GPU power consumption 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 power consumption are read only.

Requirements

Headerinclude “IPerformanceMonitoring.h”
Minimum version1.0

See Also: ADLX Enums