Gets the SmartShift value of a system metric sample.
ADLX_RESULT SmartShift (adlx_int* data)
[out]data adlx_int* The pointer to a variable where the SmartShift value is returned.
If the SmartShift value is successfully returned, ADLX_OK is returned.
If the SmartShift value is not successfully returned, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
The value returned by SmartShift is an integer number which is within -100 to +100 range.
A negative value indicates that the power is shifted to the CPU.
A positive value indicates that the power is shifted to the GPU.
Considering zero as the state with no power shift, the larger the deviation from zero, the larger the power shift.
AMD SmartShift helps boost notebook performance by dynamically shifting the power between the CPU and the GPU depending on the workload.