From a262245a9804c435f4d1afa8baee3257e99bdbd2 Mon Sep 17 00:00:00 2001 From: Alec Mouri Date: Mon, 10 Feb 2020 17:46:50 -0800 Subject: [PATCH] [SfStats] Add event connection count to atom proto. Bug: 135480141 Test: builds Change-Id: I5eeafd7f2631b0d2e72777ee802df378266cffda --- cmds/statsd/src/atoms.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 71afc32686f1e..0d63e6c17335c 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -7911,6 +7911,10 @@ message SurfaceflingerStatsGlobalInfo { // Total time that was spent performing animations. // This is derived from the present-to-present layer histogram optional int64 animation_millis = 5; + // Total number of event connections tracked by SurfaceFlinger at the time + // of this pull. If this number grows prohibitively large, then this can + // cause jank due to resource contention. + optional int32 event_connection_count = 6; } /**