| commit | 56e638519942953ccc3b7e0ff3f3cb798f91b914 | [log] [tgz] |
|---|---|---|
| author | Alec Mouri <alecmouri@google.com> | Tue Mar 09 18:17:25 2021 -0800 |
| committer | Alec Mouri <alecmouri@google.com> | Tue Mar 09 18:40:53 2021 -0800 |
| tree | e6268378163e32b43939db959c069504bdad7a4e | |
| 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