Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Issue 13046007: android: Add interactive surface statistics viewer (Closed)

Created:
7 years, 9 months ago by Sami
Modified:
7 years, 9 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

android: Add interactive surface statistics viewer Add a simple tool for viewing graphics surface statistics interactively. Sample output: avg_surface_fps (fps) frame_lengths (vsyncs) jank_count (janks) max_frame_delay (vsyncs) --------------------- ---------------------- ------------------ ------------------------ 58.00 1.158 1 4 55.00 1.215 2 7 57.00 1.174 2 3 56.00 1.192 2 6 56.00 1.196 3 3 54.00 1.239 1 8 BUG=https://b/8364918 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190930

Patch Set 1 #

Patch Set 2 : Indent fix. #

Total comments: 16

Patch Set 3 : Marcus's ideas and bad timestamp bugfix. #

Total comments: 1

Patch Set 4 : _GetTerminalHeight instead of _GetTerminalSize #

Patch Set 5 : Allow more than one bad timestamp. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -2 lines) Patch
M build/android/pylib/surface_stats_collector.py View 1 2 3 4 4 chunks +21 lines, -2 lines 0 comments Download
A build/android/surface_stats.py View 1 2 3 1 chunk +131 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Sami
7 years, 9 months ago (2013-03-26 19:28:42 UTC) #1
bulach
lgtm, thanks! useful utility.. just some nits and suggestions below: https://codereview.chromium.org/13046007/diff/2001/build/android/surface_stats.py File build/android/surface_stats.py (right): https://codereview.chromium.org/13046007/diff/2001/build/android/surface_stats.py#newcode29 ...
7 years, 9 months ago (2013-03-27 10:05:03 UTC) #2
Sami
Thanks for the great suggestions Marcus. This is much more pythonic now. I noticed that ...
7 years, 9 months ago (2013-03-27 11:47:39 UTC) #3
bulach
lgtm, nice! tiny nit: https://codereview.chromium.org/13046007/diff/5001/build/android/surface_stats.py File build/android/surface_stats.py (right): https://codereview.chromium.org/13046007/diff/5001/build/android/surface_stats.py#newcode50 build/android/surface_stats.py:50: height, width, _, _ = ...
7 years, 9 months ago (2013-03-27 11:53:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/13046007/10002
7 years, 9 months ago (2013-03-27 12:03:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/13046007/5004
7 years, 9 months ago (2013-03-27 12:08:42 UTC) #6
Sami
Looks like we can get more than one bad timestamp at the end of the ...
7 years, 9 months ago (2013-03-27 12:09:11 UTC) #7
commit-bot: I haz the power
7 years, 9 months ago (2013-03-27 14:05:51 UTC) #8
Message was sent while issue was closed.
Change committed as 190930

Powered by Google App Engine
This is Rietveld 408576698