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

Issue 841443002: mac: Add a metric for the time blocked by WaitForSurface(). (Closed)

Created:
5 years, 11 months ago by erikchen
Modified:
5 years, 11 months ago
Reviewers:
Ilya Sherman, ccameron
CC:
chromium-reviews, darin-cc_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Add a metric for the time blocked by WaitForSurface(). The method RenderWidgetHostImpl::WaitForSurface() synchronously blocks the browser's main thread, waiting for a frame of the right size to arrive from the GPU process. It has a timeout of 50 milliseconds. This CL adds a metric recording the time blocked by this method. BUG=446369 Committed: https://crrev.com/edac18f894587d3461655bdade8210114d935c5e Cr-Commit-Position: refs/heads/master@{#310124}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Comments from ccameron. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -3 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 chunks +8 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
erikchen
ccameron: Please review.
5 years, 11 months ago (2015-01-06 02:07:09 UTC) #5
ccameron
lgtm (with the one nit, up to you if you want to change it). https://codereview.chromium.org/841443002/diff/60001/content/browser/renderer_host/render_widget_host_impl.cc ...
5 years, 11 months ago (2015-01-06 02:14:21 UTC) #6
erikchen
https://codereview.chromium.org/841443002/diff/60001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/841443002/diff/60001/content/browser/renderer_host/render_widget_host_impl.cc#newcode839 content/browser/renderer_host/render_widget_host_impl.cc:839: On 2015/01/06 02:14:21, ccameron1 wrote: > It should be ...
5 years, 11 months ago (2015-01-06 03:23:16 UTC) #7
erikchen
isherman: Please review. The metric is being emitted very often. Is there a preferred method ...
5 years, 11 months ago (2015-01-06 03:24:22 UTC) #9
Ilya Sherman
Histograms LGTM. > The metric is being emitted very often. Is there a preferred method ...
5 years, 11 months ago (2015-01-06 04:33:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/841443002/80001
5 years, 11 months ago (2015-01-06 18:08:13 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:80001)
5 years, 11 months ago (2015-01-06 20:10:09 UTC) #13
commit-bot: I haz the power
5 years, 11 months ago (2015-01-06 20:11:50 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/edac18f894587d3461655bdade8210114d935c5e
Cr-Commit-Position: refs/heads/master@{#310124}

Powered by Google App Engine
This is Rietveld 408576698