diff options
author | Adam Bookatz <bookatz@google.com> | 2020-11-09 12:02:00 -0800 |
---|---|---|
committer | Adam Bookatz <bookatz@google.com> | 2020-11-09 12:02:00 -0800 |
commit | 65ad214cb9c2c53f2d5da56645ee11dd8bd87734 (patch) | |
tree | 3eefe8cfd95f19e32dbddf0ac71565540ba98bff /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 92b3adcb2d926fa83167f5042319716086afc31b (diff) |
BatteryStatsService StatsLog.write calls out of lock
BatteryStatsService noteStart() calls are now all processed
on a separate thread. StatsLog.write calls inside of this class
(for convenience), however, should not be processed on that thread -
they should be processed immediately to ensure that their timestamp
is accurate. Since statsd already processes these calls on a separate
thread, there should be no concern. Moreover, these StatsLog lines
do not need to even be in the same mLock.
Test: compiles
Change-Id: Ic3ee78dfffe367bf136de16f39af7371ddf71edd
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions