GetCPUUsageRange
Gets the minimum and maximum CPU usage of a system.
Syntax
ADLX_RESULT GetCPUUsageRange (adlx_int* minValue, adlx_int* maxValue)
Parameters
-
[out]
minValue adlx_int* The pointer to a variable where the minimum CPU usage (in %) is returned. -
[out]
maxValue adlx_int* The pointer to a variable where the maximum CPU usage (in %) is returned.
Return Value
If the CPU usage range is successfully returned, ADLX_OK is returned.
If the CPU 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 CPU usage are read only.
Requirements
Header |
include “IPerformanceMonitoring.h” |
Minimum version |
1.0 |