diff options
author | Michael Wachenschwanz <mwachens@google.com> | 2021-02-12 00:08:30 -0800 |
---|---|---|
committer | Michael Wachenschwanz <mwachens@google.com> | 2021-02-17 08:48:52 -0800 |
commit | 0726d59bc541c1fd09553f0adb31793e7c8e258c (patch) | |
tree | bdb30d80bd463dca7413166c33b8efa5165306ee /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 750d5df6c6b64807c6d14b6a5dfef008b8f1d750 (diff) |
Add cpu proc file read throttling enabling/disabling
To properly attribute the new MeasureEnergy data for CPU, the cpu kernel
uid file reads needs to occur everytime the CPU MeasuredEnergy is read.
If throttling is necessary, it will need to be handled by
BatteryExternalStatsWorker for both the cpu kernel file reads and the
MeasuredEnergy read to make sure the data is in sync.
Bug: 180079165
Test: atest FrameworksCoreTests:com.android.internal.os.KernelCpuUidUserSysTimeReaderTest
Change-Id: I90ebad48d780872a611605689e0d25678da66f27
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions