History log of /frameworks/native/services/surfaceflinger/TimeStats/TimeStats.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
de1de879042442f6925d65281cc963473b1d9d3c 10-May-2018 Yiwei Zhang <zzyiwei@google.com> Merge changes Ie828d9b4,I5ddd6323 into pi-dev

* changes:
SF TimeStats: move dumpStats into TimeStatsHelper
SF TimeStats: update build file and some cleanups
8a4015c8d7d0316fa422ed53db7e972310f6758b 09-May-2018 Yiwei Zhang <zzyiwei@google.com> SF TimeStats: move dumpStats into TimeStatsHelper

Move dumpStats into TimeStatsHelper to make the TimeStatsHelper class
more modularized.

Test: dumpsys SurfaceFlinger --timestats <see go/sf-timestats for args>
Bug: b/70388650
Change-Id: Ie828d9b4c47aae54df5851e0febb8f48d34b78c8
/frameworks/native/services/surfaceflinger/TimeStats/TimeStats.h
c5f2c455a99fd2a05cf3e9d3af57710b6a4334fa 09-May-2018 Yiwei Zhang <zzyiwei@google.com> SF TimeStats: change the container of TimeRecord

The current container of TimeRecord is std::vector which behaves not
well when it tries to erase an element on the front. This change update
the container to std::deque instead.

Test: dumpsys SurfaceFlinger --timestats <see go/sf-timestats for args>
Bug: b/70388650
Change-Id: Ib3f695f46eb21dc27b0ed725b86764331f304be2
/frameworks/native/services/surfaceflinger/TimeStats/TimeStats.h
621f9d47638c7a147c6513801eaeb0ed0fdcad30 07-May-2018 Yiwei Zhang <zzyiwei@google.com> SF TimeStats: fix missed frame logic

The current missed frames count is correct, but the decrement on the
total frames when mPropagateBackpressure is enabled is not right since
the missed frame won't count twice on SurfaceFlinger side. This change
fixed this logic error.

Test: dumpsys SurfaceFlinger --timestats <see go/sf-timestats for args>
Bug: b/70388650
Change-Id: I3bab221ad4b9f44da965084fd52da6c82523d1f4
/frameworks/native/services/surfaceflinger/TimeStats/TimeStats.h
0102ad2d522de255efabd50adf6c6a27811344f4 03-May-2018 Yiwei Zhang <zzyiwei@google.com> SurfaceFlinger TimeStats Metrics

Add timestats metrics for SurfaceFlinger. Keep track of global metrics
like total frames, missed frames, frames fellback to client
compositions, etc, as well as layer timing metrics like the delta
combination of postTime, desiredPresentTime, acqureTime, latchTime,
presentTime, etc. This metric is aimed at GMScore.

Test: dumpsys SurfaceFlinger --timestats [go/sf-timestats for more args]
Bug: b/70388650
Change-Id: I6e4545aef62f7893020533a4e7521541ea453ecd
Merged-In: I6e4545aef62f7893020533a4e7521541ea453ecd
/frameworks/native/services/surfaceflinger/TimeStats/TimeStats.h