IsSupportedPowerDistribution

Checks if reporting of power distribution between CPU and GPU is supported on the system.

Syntax

Copied!

ADLX_RESULT     IsSupportedPowerDistribution (adlx_bool* supported)

Parameters

  1. [out] supported adlx_bool* The pointer to a variable where the state of reporting of power distribution is returned. The variable is true if the power distribution metric reporting is supported. The variable is false if the power distribution metric reporting is not supported.

Return Value

If the state of power distribution metric reporting is successfully returned, ADLX_OK is returned.

If the state of power distribution metric reporting is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “IPerformanceMonitoring1.h”

Minimum version

1.2