Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2f0bc4bc authored by Connor O'Brien's avatar Connor O'Brien
Browse files

ANDROID: cpufreq: times: record fast switch frequency transitions



cpufreq_times_record_transition() is not called when fast switch is
enabled, leading /proc/uid_time_in_state to attribute all time on a
cluster to a single frequency. To fix this, add a call to
cpufreq_times_record_transition() in the fast switch path.

Also revise cpufreq_times_record_transition() to simplify the new call
and more closely align with cpufreq_stats_record_transition().

Bug: 121287027
Test: /proc/uid_time_in_state shows times for more than one freq per
cluster
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
Change-Id: I071ee2fa90eaadaad26582a298b741c5294e18b7
parent 9cca4066
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment