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

Skip to content
Commit 22fc5259 authored by Andres Oportus's avatar Andres Oportus Committed by TARKZiM
Browse files

ANDROID: cpufreq: stats: Fix dead stats clearing timing



Combine task exit stats aggregation to happen at the same
time when stats are cleared, avoiding inconsistent data
(stats of uids time appear to decrease) and simplifying
the code.

Bug: 63041570
Test: Continuosly read /proc/uid_time_in_state and check
for decreasing values

Signed-off-by: default avatarAndres Oportus <andresoportus@google.com>
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
Change-Id: Ie2b4ce4a02f533140a6c5f9ae5cb7ae978c93f9e
parent 9beae7c4
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