diff options
| author | Peng Liu <a22543@motorola.com> | 2014-06-13 07:54:41 -0500 |
|---|---|---|
| committer | dhacker29 <dhackerdvm@gmail.com> | 2014-08-19 15:30:34 -0400 |
| commit | e2d737166306881c1970dc1b6d7d0e7ae7e59acd (patch) | |
| tree | 89824939cabdab2e271e266fb828dc45ab3a333a /lib/mpi/mpi-inline.c | |
| parent | accdf4d76b1c855f0050c2c940e93315f9ac36ff (diff) | |
Revert "(CR) [ARM] msm: Offset sched_clock with suspend time"
This reverts commit b9433def698aa71df3e809d6e521cc3680a0ad92.
The only purpose of the original change was to increase kernel
log timestamp after system suspend to reveal the time spent in
suspend mode. But the implementation causes problems.
read_sched_clock() is used by CFS to compute task running time
but not used to compute total CPU time thus the total CPU times
in /proc/[pid]/stat and /proc/stat mismatch.
This affects end uses' experience as well. Because suspend time
is added into the running time of kernel thread that triggers
system suspend, end users see abnormally high Android OS battery
utilization in Settings->Battery.
Change-Id: Ibb3d60ac0e7ed61178b434b01ffb06826dae9c0c
Signed-off-by: Peng Liu <a22543@motorola.com>
Reviewed-on: http://gerrit.mot.com/645066
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Christopher Fries <cfries@motorola.com>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
