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

Unified Diff: webkit/compositor_bindings/WebLayerTreeViewImpl.cpp

Issue 11028021: cc: Improve frame/commit accounting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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/CCRenderingStats.h ('K') | « tools/gpu/gpu_tools/texture_upload_benchmark.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
diff --git a/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp b/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
index f095c573105ee17f5b20d347e1a5357ac8862db6..b73b5e507f815192f96f5f12e88c2c4ca158005b 100644
--- a/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
+++ b/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
@@ -170,8 +170,10 @@ void WebLayerTreeViewImpl::renderingStats(WebRenderingStats& stats) const
CCRenderingStats ccStats;
m_layerTreeHost->renderingStats(&ccStats);
- stats.numAnimationFrames = ccStats.numAnimationFrames;
+ stats.numCSyncs = ccStats.numCSyncs;
+ stats.numActiveCSyncs = ccStats.numActiveCSyncs;
stats.numFramesSentToScreen = ccStats.numFramesSentToScreen;
+ stats.numAnimationFrames = ccStats.numAnimationFrames;
stats.droppedFrameCount = ccStats.droppedFrameCount;
stats.totalPaintTimeInSeconds = ccStats.totalPaintTimeInSeconds;
stats.totalRasterizeTimeInSeconds = ccStats.totalRasterizeTimeInSeconds;
« cc/CCRenderingStats.h ('K') | « tools/gpu/gpu_tools/texture_upload_benchmark.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698