diff options
| author | 2021-03-09 18:17:25 -0800 | |
|---|---|---|
| committer | 2021-03-09 18:40:53 -0800 | |
| commit | 56e638519942953ccc3b7e0ff3f3cb798f91b914 (patch) | |
| tree | e6268378163e32b43939db959c069504bdad7a4e /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | a170ec6a87f2720eb9846ea75cd9807db54b12ad (diff) | |
Don't clear all of global stats when clearing layer stats.
Otherwise this produces significant server-side skew when validating
stats because pulling layer stats can destroy any pending global stats,
which can cause the loss of an entire day's worth of data.
Bug: 177999557
Test: libsurfaceflinger_unittest
Test: adb shell cmd stats pull-source 10062
Test: adb shell cmd stats pull-source 10063
Change-Id: I60599a584a189a60e7eac9eaba0800d6ade76b90
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions