PowerDistribution
Gets the distribution of power between CPU and GPU of a system metric sample.
Syntax
ADLX_RESULT PowerDistribution (adlx_int* apuShiftValue, adlx_int* gpuShiftValue, adlx_int* apuShiftLimit, adlx_int* gpuShiftLimit, adlx_int* totalShiftLimit)
Parameters
-
[out]
apuShiftValue adlx_int* The pointer to a variable where the apu shift alue value is returned.
-
[out]
gpuShiftValue adlx_int* The pointer to a variable where the gpu shift value is returned.
-
[out]
apuShiftLimit adlx_int* The pointer to a variable where the apu shift limit value is returned.
-
[out]
gpuShiftLimit adlx_int* The pointer to a variable where the gpu shift limit value is returned.
-
[out]
totalShiftLimit adlx_int* The pointer to a variable where the total shift limit value is returned.
Return Value
If the distribution of power is successfully returned, ADLX_OK is returned.
If the distribution of power 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 |