Skip to content

GetNPUFrequencyRange

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXGPUMetricsSupport1

Syntax

ADLX_RESULT    GetNPUFrequencyRange (adlx_int* minValue, adlx_int* maxValue)

Parameters

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

Return Value

If the NPU frequency range is successfully returned, ADLX_OK is returned.

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

Requirements

Headerinclude “IPerformanceMonitoring2.h”
Minimum version1.3

See Also: ADLX Enums