Skip to content
Commit 3be552e8 authored by Quentin Perret's avatar Quentin Perret
Browse files

tests: energy_model: Test capacity margin



The capacity_margin_pct parameter of get_optimal_placement() can be set
to non-zero values to account for the overutilization band.

Add a self test with a task size larger than 80% of the CPU capacity
and a margin of 20% to ensure this results in an exception.

Suggested-by: default avatarValentin Schneider <valentin.schneider@arm.com>
Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent c3155efd
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