summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2020-02-10 10:58:39 -0800
committer Yiwei Zhang <zzyiwei@google.com> 2020-02-10 11:24:21 -0800
commit59cdc901ff763f76b7045df8245cbf66d786ad1c (patch)
tree61683f3d8bb2d542509891b9db6d00a599b41bd2
parent82f8733d3f7b349de2d2dd17c82b8e1e6860557a (diff)
SFStats: track lateAcquired and badDesiredPresent frames from the field
Bug: 135478131 Test: statsd_testdrive 10063 Change-Id: I414ddb1eb0c58367025ff62743c091e0b6a42ec0
-rw-r--r--cmds/statsd/src/atoms.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto
index 183d7411489c..e7ff27dbc62c 100644
--- a/cmds/statsd/src/atoms.proto
+++ b/cmds/statsd/src/atoms.proto
@@ -7951,6 +7951,10 @@ message SurfaceflingerStatsLayerInfo {
// presentation, until the buffer was ready to be presented.
optional FrameTimingHistogram post_to_acquire = 9
[(android.os.statsd.log_mode) = MODE_BYTES];
+ // Frames missed latch because the acquire fence didn't fire
+ optional int64 late_acquire_frames = 10;
+ // Frames latched early because the desired present time was bad
+ optional int64 bad_desired_present_frames = 11;
}
/**