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

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: Address comments 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
« no previous file with comments | « tools/perf/perf_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 f621a864a6eaeba69ae0c5454a520c03683eff9c..604d039a281356b1dbeb4324e31cb7e89524a2ae 100644
--- a/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
+++ b/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
@@ -170,15 +170,17 @@ void WebLayerTreeViewImpl::renderingStats(WebRenderingStats& stats) const
CCRenderingStats ccStats;
m_layerTreeHost->renderingStats(&ccStats);
- stats.numAnimationFrames = ccStats.numAnimationFrames;
- stats.numFramesSentToScreen = ccStats.numFramesSentToScreen;
+ stats.vsyncCount = ccStats.vsyncCount;
+ stats.rendererFrameCount = ccStats.rendererFrameCount;
+ stats.mainAnimationFrameCount = ccStats.mainAnimationFrameCount;
+ stats.implAnimationFrameCount = ccStats.implAnimationFrameCount;
stats.droppedFrameCount = ccStats.droppedFrameCount;
stats.totalPaintTimeInSeconds = ccStats.totalPaintTimeInSeconds;
stats.totalRasterizeTimeInSeconds = ccStats.totalRasterizeTimeInSeconds;
stats.totalCommitTimeInSeconds = ccStats.totalCommitTimeInSeconds;
stats.totalCommitCount = ccStats.totalCommitCount;
- stats.numImplThreadScrolls = ccStats.numImplThreadScrolls;
- stats.numMainThreadScrolls = ccStats.numMainThreadScrolls;
+ stats.implThreadScrollCount = ccStats.implThreadScrollCount;
+ stats.mainThreadScrollCount = ccStats.mainThreadScrollCount;
}
void WebLayerTreeViewImpl::setFontAtlas(SkBitmap bitmap, WebRect asciiToWebRectTable[128], int fontHeight)
« no previous file with comments | « tools/perf/perf_tools/texture_upload_benchmark.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698