PowerDistribution
Navigation: ADLX SDK References → ADLX Interfaces → Performance Monitoring → IADLXSystemMetrics1
Syntax
ADLX_RESULT PowerDistribution (adlx_int* apuShiftValue, adlx_int* gpuShiftValue, adlx_int* apuShiftLimit, adlx_int* gpuShiftLimit, adlx_int* totalShiftLimit)
Parameters
# | Direction | Name | Type | Description |
---|---|---|---|---|
1. | [out] | apuShiftValue | adlx_int* | The pointer to a variable where the apu shift value is returned. |
# | Direction | Name | Type | Description |
--- | --- | --- | --- | --- |
1. | [out] | gpuShiftValue | adlx_int* | The pointer to a variable where the gpu shift value is returned. |
# | Direction | Name | Type | Description |
--- | --- | --- | --- | --- |
1. | [out] | apuShiftLimit | adlx_int* | The pointer to a variable where the apu shift limit value is returned. |
# | Direction | Name | Type | Description |
--- | --- | --- | --- | --- |
1. | [out] | gpuShiftLimit | adlx_int* | The pointer to a variable where the gpu shift limit value is returned. |
# | Direction | Name | Type | Description |
--- | --- | --- | --- | --- |
1. | [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 |