Skip to content

IsSupportedCPUUsage

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXSystemMetricsSupport

Syntax

ADLX_RESULT    IsSupportedCPUUsage (adlx_bool* supported)

Parameters

#DirectionNameTypeDescription
1.[out]supportedadlx_bool*The pointer to a variable where the state of CPU usage metric reporting is returned. The variable is true if the CPU usage metric reporting is supported. The variable is false if the CPU usage metric reporting is not supported.

Return Value

If the state of CPU usage metric reporting is successfully returned, ADLX_OK is returned.

If the state of CPU usage metric reporting is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Headerinclude “IPerformanceMonitoring.h”
Minimum version1.0

See Also: ADLX Enums