diff options
author | Adam Bookatz <bookatz@google.com> | 2021-03-17 18:36:12 -0700 |
---|---|---|
committer | Adam Bookatz <bookatz@google.com> | 2021-03-17 18:36:12 -0700 |
commit | ece94a7e3ed9b83e1b60d6f0343f00698b6c9776 (patch) | |
tree | 7f9a4384a63e3ff8e97858b712110dc0ee41f020 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1bdbcffaa16dc5e5e1ca2992ca339957ee7a937e (diff) |
BatteryStatsImpl: SparseDoubleArray
As a temporary measure, a Map<Uid,Double> had been
used in intermediate calculations to store each uids
measured energy values. For efficiency reasons, we convert
this to a SparseDoubleArray, which we implement here.
This is an alternative solution to ag/13907602.
Bug: 182845832
Test: atest BatteryStatsTests
Change-Id: Id5696e5fb6814da0889fde12f4bb8d2b5427c6fe
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions