Skip to content
Commit 2fc885a4 authored by Mahmoud Elsabbagh's avatar Mahmoud Elsabbagh
Browse files

mod_power_capping_hal: Use PID controller in Power Capping Hal.



Apply PID feedback on Power Cap requested by the agent as follows:
1) The set point is the requested cap by the agent.
2) The feedback is the average measured power.
3) The output is a power limit that is delivered to the power distributor.

The usage of the PID would allow the Power Cap not to be set directly
to the system although a margin would be there to allow bursts of performance
applied on the system for a short period of time.

The PID is called continuously on intervals inside the get_power_limit function
called from metrics_analyzer.

Signed-off-by: Mahmoud Elsabbagh's avatarMahmoud Elsabbagh <mahmoud.elsabbagh@arm.com>
parent 1b74507b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment