b786aaa5a7596471b4b278019dfef15e6dccccc1 |
|
22-Jan-2016 |
Thierry Strudel <tstrudel@google.com> |
Don't assume kernel tick is 100Hz Bug: 26729731 Change-Id: I094d5fd0e611349becb91d4460bc2e4af255d125
/frameworks/base/core/java/com/android/internal/os/KernelCpuSpeedReader.java
|
8057133d49ab3243de54333012ce5ee8fece5381 |
|
18-Sep-2015 |
Adam Lesinski <adamlesinski@google.com> |
Fix crash when no power_profile is specified Always connected devices don't have power_profiles, so handle the case where the default cpu speed count of 1 is used on a device with more cpu speeds. Bug:23776983 Change-Id: Ifdddad2f28eea5b730833622a6b6043b3086efd2
/frameworks/base/core/java/com/android/internal/os/KernelCpuSpeedReader.java
|
6832f39416cbe2cc9655af4eabefe39c5d272254 |
|
06-Sep-2015 |
Adam Lesinski <adamlesinski@google.com> |
BatteryStats: Better big-little CPU accounting Generalize cpu clusters so we can measure frequency and power usage across heterogeneous cpu clusters. This also brings back reading of cpu-times for power calculation. Bug:22773176 Change-Id: I9c794ae9756c782c0e971c7f5fcebbe70374b269
/frameworks/base/core/java/com/android/internal/os/KernelCpuSpeedReader.java
|
06af1fac166a83507450b6bbb1f98a8dde68d92e |
|
06-May-2015 |
Adam Lesinski <adamlesinski@google.com> |
Parse uid_cputime proc file Instead of using the ProcessCpuTracker as the source of truth, we periodically poll the new uid_cputime kernel module for stats on all UID cpu time. TODO: Need to tell the kernel when to stop tracking UIDs (aka on package uninstall). Change-Id: Id1d251aae23ab53f7acc0aba3bca5118bc2c194a
/frameworks/base/core/java/com/android/internal/os/KernelCpuSpeedReader.java
|