commit | 8e09730244a3fb935d5fdae94c572bb3946c5c6e | [log] [tgz] |
---|---|---|
author | Yiwei Zhang <zzyiwei@google.com> | Mon Jul 08 16:11:12 2019 -0700 |
committer | Yiwei Zhang <zzyiwei@google.com> | Mon Jul 08 16:37:36 2019 -0700 |
tree | 681ffa9f021186bf6bd4a3d7629713157df0823c | |
parent | eb6ab629bdb60f180567e22d5a158139965e18d1 [diff] |
GpuStats: Cache the gpu service binder Cache the gpu service binder in the app process so that sending stats pieces won't try to find gpu service every time. If gpu service accidentally restarts, just ignore the later stats from the app, since the memory that holds GpuStats for that app is gone already during the gpu service restart. Test: systrace while try killing gpu service Change-Id: Ib9c38a3592f509f18d146b6c6e8f14e9e997c994