Skip to content

GetNPUActivityLevelRange

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXGPUMetricsSupport1

Syntax

ADLX_RESULT    GetNPUActivityLevelRange (adlx_int* minValue, adlx_int* maxValue)

Parameters

#DirectionNameTypeDescription
1.[out]minValueadlx_int*The pointer to a variable where the minimum NPU activity level (in %) is returned.
#DirectionNameTypeDescription
---------------
2.[out]maxValueadlx_int*The pointer to a variable where the maximum NPU activity level (in %) is returned.

Return Value

If the NPU activity level range is successfully returned, ADLX_OK is returned.

If the NPU activity level 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 NPU activity level are read only.

Requirements

Headerinclude “IPerformanceMonitoring2.h”
Minimum version1.3

See Also: ADLX Enums