GPUPower 

Gets the GPU power consumption of a GPU metric sample.

Syntax 

ADLX_RESULT     GPUPower (adlx_double* data)

Parameters 

  1. [out] data adlx_double* The pointer to a variable where the GPU power consumption (in W) is returned.

Return Value 

If the GPU power is successfully returned, ADLX_OK is returned.

If the GPU power is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements 

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0