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

Issue 2752053003: Add UMA stats for SurfaceDrawQuads in SurfaceAggregator. (Closed)

Created:
3 years, 9 months ago by kylechar
Modified:
3 years, 9 months ago
Reviewers:
jwd, jbauman
CC:
chromium-reviews, cc-bugs_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA stats for SurfaceDrawQuads in SurfaceAggregator. This CL adds UMA stats to keep track of SurfaceDrawQuads during surface aggregation. For each call to SurfaceAggregator::Aggregate(), keep track of surface referenced from SurfaceDrawQuads. 1. ValidSurface: The surface exists and has an active CompositorFrame. 2. MissingSurface: The surface doesn't exist. 3. NoActiveFrame: The surface exists but doesn't have an active frame. Ideally 2 and 3 should never happen but the UMA stats will provide a signal to if something has changed with regards to surface lifetime management. BUG=696596 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2752053003 Cr-Commit-Position: refs/heads/master@{#458480} Committed: https://chromium.googlesource.com/chromium/src/+/0db8650476b17b19f443de6b58f20465ac6604f4

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 4

Patch Set 3 : Change to each. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -0 lines) Patch
M cc/surfaces/surface_aggregator.h View 1 2 chunks +18 lines, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 5 chunks +27 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
kylechar
3 years, 9 months ago (2017-03-16 14:52:28 UTC) #3
jbauman
lgtm
3 years, 9 months ago (2017-03-16 19:41:11 UTC) #4
kylechar
Thanks! +jwd for tools/metrics/*
3 years, 9 months ago (2017-03-16 19:49:01 UTC) #6
jwd
https://codereview.chromium.org/2752053003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2752053003/diff/20001/tools/metrics/histograms/histograms.xml#newcode8031 tools/metrics/histograms/histograms.xml:8031: + active CompositorFrame. This is logged for one call ...
3 years, 9 months ago (2017-03-21 14:07:31 UTC) #7
kylechar
Thanks! https://codereview.chromium.org/2752053003/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2752053003/diff/20001/tools/metrics/histograms/histograms.xml#newcode8031 tools/metrics/histograms/histograms.xml:8031: + active CompositorFrame. This is logged for one ...
3 years, 9 months ago (2017-03-21 14:22:53 UTC) #8
jwd
lgtm
3 years, 9 months ago (2017-03-21 15:08:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2752053003/40001
3 years, 9 months ago (2017-03-21 18:13:36 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 18:27:23 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/0db8650476b17b19f443de6b58f2...

Powered by Google App Engine
This is Rietveld 408576698