commit | e43530ab571e901f94361078c7c1f970a0bd27f2 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Fri Aug 21 13:11:37 2009 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Sun Sep 20 16:03:50 2009 -0700 |
tree | 2a2c528dab1a81064c63bbc1adbe77ba39eb66ac | |
parent | eb8aad7b2a99d3332a2fa6d8778356d634c47127 [diff] |
Track CPU speed stepping to get more accurate CPU cost per app. More CPU speed stepping happening with newer devices, so we need to qualify CPU time with the CPU speed, since power consumption varies greatly by speed. Apps that peg the CPU should get a higher penaltly. Also, fix for 2062930: NPE at VolumePreference.onKey()