Skip to content
Commit 8d40f58e authored by Chris Redpath's avatar Chris Redpath Committed by Andres Oportus
Browse files

ANDROID: trace:sched: Make util_avg in load_avg trace reflect PELT/WALT as used



With the ability to choose between WALT and PELT for utilisation tracking
we can have the situation where we're using WALT to make all the
decisions and reporting PELT figures in the sched_load_avg_(cpu|task)
trace points. This is not too much of an issue, but when analysing trace
it is nice to see numbers representing what the scheduler is using rather
than needing to add in additional sched_walt_* traces to figure it out.

Add reporting for both types, and make the util_avg member reflect what
will be seen from cpu or task_util functions in the scheduler.

Change-Id: I2abbd2c5fa70822096d0f3372b4c12b1c6af1590
Signed-off-by: default avatarChris Redpath <chris.redpath@arm.com>
[renamed macros according to 172895e6]
Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent af88a165
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