GetNPUFrequencyRange
Gets the minimum and maximum NPU frequency on a GPU.
Syntax
ADLX_RESULT GetNPUFrequencyRange (adlx_int* minValue, adlx_int* maxValue)
Parameters
-
[out]
minValue adlx_int* The pointer to a variable where the minimum NPU frequency (in MHZ) is returned. -
[out]
maxValue adlx_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
Header |
include “IPerformanceMonitoring2.h” |
Minimum version |
1.3 |