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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.cc

Issue 10982078: Adding hooks for gathering total pixels painted and rasterized stats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« cc/rendering_stats.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/web_layer_tree_view_impl.cc
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.cc b/webkit/compositor_bindings/web_layer_tree_view_impl.cc
index e61a16661c3a34e5657198e13facf6d340061d51..13b83ca8decbdf95dcb125dbbb3e4a4fb3d9dd03 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.cc
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.cc
@@ -177,6 +177,8 @@ void WebLayerTreeViewImpl::renderingStats(WebRenderingStats& stats) const
stats.totalRasterizeTimeInSeconds = ccStats.totalRasterizeTimeInSeconds;
stats.totalCommitTimeInSeconds = ccStats.totalCommitTimeInSeconds;
stats.totalCommitCount = ccStats.totalCommitCount;
+ stats.totalPixelsPainted = ccStats.totalPixelsPainted;
+ stats.totalPixelsRasterized = ccStats.totalPixelsRasterized;
stats.numImplThreadScrolls = ccStats.numImplThreadScrolls;
stats.numMainThreadScrolls = ccStats.numMainThreadScrolls;
}
« cc/rendering_stats.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698