From ca954f9cbb56dcc98bf8778433293482965f53ef Mon Sep 17 00:00:00 2001 From: Siarhei Vishniakou Date: Fri, 22 Mar 2019 16:41:14 -0700 Subject: [PATCH] Add count to TouchEventReported atom We might have to reconstruct mean and st. dev. over arbitrary periods of time and across multiple devices. Currently, we are just looking at the average and st. dev. values. In order to be able to reconstruct, we need to know the number of events in each chunk that is received. Add the needed field here. Bug: 111431676 Test: out/host/linux-x86/bin/statsd_testdrive 34 Change-Id: I5aa4b759404308b98d4e6b5ed5a94e4c760dc447 --- cmds/statsd/src/atoms.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 1735b05148fa3..91a66f787fe19 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -2431,6 +2431,8 @@ message TouchEventReported { optional float latency_mean_micros = 3; // Standard deviation optional float latency_stdev_micros = 4; + // Number of touch events (input_event) in this report + optional int32 count = 5; } /**