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

Skip to content
Commit 1cac7519 authored by Lianwei Wang's avatar Lianwei Wang Committed by Dyneteve
Browse files

tick: don't update idle time if cpu offline



Propagate from (CR).

An offline cpu still has ts->idle_active == 1, that cause
off time is counted as idle time, and hence cause cpu load
calculated wrongly.

Check the cpu online status before updating the idle time to
fix it.

Change-Id: I8c3213105601efca037eb23ad724811b5f46d437
Signed-off-by: default avatarLianwei Wang <a22439@motorola.com>
Reviewed-on: http://gerrit.mot.com/727323


SLTApproved: Slta Waiver <sltawvr@motorola.com>
SME-Granted: SME Approvals Granted
Tested-by: default avatarJira Key <jirakey@motorola.com>
Reviewed-by: default avatarIgor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
parent 0d15c493
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