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

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: Use uint64_t and rename variables to *Count 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/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 20e3d37495c6ca60b9b17517581edb0fb00cf284..30900d99b457a4f6efb95332793fe55944434f45 100644
--- a/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
+++ b/webkit/compositor_bindings/WebLayerTreeViewImpl.cpp
@@ -170,15 +170,18 @@ void WebLayerTreeViewImpl::renderingStats(WebRenderingStats& stats) const
CCRenderingStats ccStats;
m_layerTreeHost->renderingStats(&ccStats);
- stats.numAnimationFrames = ccStats.numAnimationFrames;
- stats.numFramesSentToScreen = ccStats.numFramesSentToScreen;
+ stats.compositorSyncCount = ccStats.compositorSyncCount;
+ stats.compositorSyncActiveCount = ccStats.compositorSyncActiveCount;
+ stats.compositorFrameCount = ccStats.compositorFrameCount;
+ 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)
« cc/CCRenderingStats.h ('K') | « 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