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

Commit a87828a7 authored by Joonwoo Park's avatar Joonwoo Park
Browse files

sched: fix CPU frequency estimation while idle



CPU cycle counter won't increase when CPU or cluster is idle depending
on hardware.  Thus using cycle counter in that period of time can
result in incorrect CPU frequency estimation.  Use previously calculated
CPU frequency when CPU was idle.

Change-Id: I732b50c974a73c08038995900e008b4e16e9437b
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 4dd4632f
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