Skip to content

GetCPUUsageRange

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXSystemMetricsSupport

Syntax

ADLX_RESULT    GetCPUUsageRange (adlx_int* minValue, adlx_int* maxValue)

Parameters

#DirectionNameTypeDescription
1.[out]minValueadlx_int*The pointer to a variable where the minimum CPU usage (in %) is returned.
#DirectionNameTypeDescription
---------------
2.[out]maxValueadlx_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

Headerinclude “IPerformanceMonitoring.h”
Minimum version1.0

See Also: ADLX Enums