SmartShift

Gets the SmartShift value of a system metric sample.

Syntax

Copied!

ADLX_RESULT     SmartShift (adlx_int* data)

Parameters

  1. [out] data adlx_int* The pointer to a variable where the SmartShift value is returned.

Return Value

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.

Remarks

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.

Additional Info

AMD SmartShift helps boost notebook performance by dynamically shifting the power between the CPU and the GPU depending on the workload.

Requirements

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0