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

Issue 10818038: Make GPU benchmarking numAnimationFrames and totalPaintTime work in software mode. (Closed)

Created:
8 years, 5 months ago by dtu
Modified:
8 years, 4 months ago
Reviewers:
jamesr, nduca, piman
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, jam, apatrick_chromium, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org
Visibility:
Public.

Description

Make numAnimationFrames and numFramesSentToScreen available in software mode; these two have the same value in that mode. Make totalPaintTimeInSeconds work in software mode. This change depends on http://wkbug.com/92184 and http://wkbug.com/92325. BUG=chromium:137754 TEST=Launch Chrome with --enable-gpu-benchmarking, open a tab to a non-composited page, and type chrome.gpuBenchmarking.renderingStats(). numAnimationFrames, numFramesSentToScreen, and totalPaintTimeInSeconds should be present. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150259

Patch Set 1 : Initial commit. #

Total comments: 8

Patch Set 2 : Changes per nduca comments. #

Total comments: 2

Patch Set 3 : Calculate software paint time in RenderWidget. #

Total comments: 3

Patch Set 4 : Add paint time to "optimized instance" software-mode pepper plugins. #

Patch Set 5 : Merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -1 line) Patch
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M content/renderer/render_widget.h View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
dtu
PTAL
8 years, 5 months ago (2012-07-25 00:47:26 UTC) #1
nduca
You should split out the code for the software fix from exposing new counters. The ...
8 years, 5 months ago (2012-07-25 17:14:04 UTC) #2
dtu
https://chromiumcodereview.appspot.com/10818038/diff/5001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://chromiumcodereview.appspot.com/10818038/diff/5001/content/renderer/render_widget.cc#newcode894 content/renderer/render_widget.cc:894: total_do_deferred_update_count_++; On 2012/07/25 17:14:04, nduca wrote: > name is ...
8 years, 5 months ago (2012-07-27 01:40:48 UTC) #3
piman
https://chromiumcodereview.appspot.com/10818038/diff/8002/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://chromiumcodereview.appspot.com/10818038/diff/8002/content/renderer/render_widget.cc#newcode895 content/renderer/render_widget.cc:895: deferred_update_count_++; I'm not exactly sure what you're trying to ...
8 years, 4 months ago (2012-07-27 03:39:44 UTC) #4
dtu
https://chromiumcodereview.appspot.com/10818038/diff/8002/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://chromiumcodereview.appspot.com/10818038/diff/8002/content/renderer/render_widget.cc#newcode895 content/renderer/render_widget.cc:895: deferred_update_count_++; On 2012/07/27 03:39:44, piman wrote: > I'm not ...
8 years, 4 months ago (2012-07-31 01:35:00 UTC) #5
piman
https://chromiumcodereview.appspot.com/10818038/diff/9006/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://chromiumcodereview.appspot.com/10818038/diff/9006/content/renderer/render_widget.cc#newcode699 content/renderer/render_widget.cc:699: software_stats_.totalPaintTimeInSeconds += paint_time.InSecondsF(); We should have this in the ...
8 years, 4 months ago (2012-07-31 03:32:49 UTC) #6
dtu
https://chromiumcodereview.appspot.com/10818038/diff/9006/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://chromiumcodereview.appspot.com/10818038/diff/9006/content/renderer/render_widget.cc#newcode699 content/renderer/render_widget.cc:699: software_stats_.totalPaintTimeInSeconds += paint_time.InSecondsF(); On 2012/07/31 03:32:49, piman wrote: > ...
8 years, 4 months ago (2012-08-03 23:02:47 UTC) #7
piman
lgtm
8 years, 4 months ago (2012-08-03 23:05:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/10818038/3003
8 years, 4 months ago (2012-08-06 21:20:01 UTC) #9
commit-bot: I haz the power
Failed to apply patch for content/renderer/gpu/gpu_benchmarking_extension.cc: While running patch -p1 --forward --force; patching file content/renderer/gpu/gpu_benchmarking_extension.cc ...
8 years, 4 months ago (2012-08-06 21:20:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/10818038/3004
8 years, 4 months ago (2012-08-06 21:50:23 UTC) #11
commit-bot: I haz the power
Try job failure for 10818038-3004 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-06 22:38:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/10818038/3004
8 years, 4 months ago (2012-08-07 01:17:55 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-07 03:59:51 UTC) #14
Change committed as 150259

Powered by Google App Engine
This is Rietveld 408576698