summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2019-06-28 10:16:49 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2019-06-28 10:33:58 -0700
commit3c74da9ede3a50335ea1a5237d5565bb472e3141 (patch)
tree90cce5099afa8550da40d200941212416a37b2c1 /services/surfaceflinger/RegionSamplingThread.cpp
parent5e3645666e00d21144865177e6e8b3b740b4a4f7 (diff)
GpuStats: move the stats send at Activity launch off UI thread
Prevously when App Activity launches, we send GpuStats on the main UI thread. The async binder to send the stats only takes 30us. However, to get the gpuservice, the sync binder takes around 1.5ms because of the massive binders on CPU at Activity launch. Thus we just move the stats sending to a separate thread off the main UI thread. Now it's just 50us cost on the main UI thread. Bug: 136228448 Test: systrace and check Change-Id: Iff47dbc6a26a9d62ad33e92f93c079ac74fb3ea2
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions