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

Unified Diff: cc/worker_pool.cc

Issue 12209022: cc: add rasterize time to continuous painting graph data in impl-side-painting (Closed) Base URL: http://git.chromium.org/chromium/src.git@raster
Patch Set: Fixed style Created 7 years, 10 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 | « cc/tile_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/worker_pool.cc
diff --git a/cc/worker_pool.cc b/cc/worker_pool.cc
index ea572d9b7d29631f26ce27ee0e18fb074cdb647f..cf5f8cd653b29974e747eda39182c182a3d97006 100644
--- a/cc/worker_pool.cc
+++ b/cc/worker_pool.cc
@@ -209,6 +209,7 @@ void WorkerPool::SetRecordRenderingStats(bool record_rendering_stats) {
void WorkerPool::GetRenderingStats(RenderingStats* stats) {
stats->totalRasterizeTime = base::TimeDelta();
+ stats->totalRasterizeTimeForNowBinsOnPendingTree = base::TimeDelta();
stats->totalPixelsRasterized = 0;
stats->totalDeferredImageDecodeCount = 0;
stats->totalDeferredImageDecodeTime = base::TimeDelta();
@@ -218,6 +219,8 @@ void WorkerPool::GetRenderingStats(RenderingStats* stats) {
CHECK(worker->rendering_stats());
stats->totalRasterizeTime +=
worker->rendering_stats()->totalRasterizeTime;
+ stats->totalRasterizeTimeForNowBinsOnPendingTree +=
+ worker->rendering_stats()->totalRasterizeTimeForNowBinsOnPendingTree;
stats->totalPixelsRasterized +=
worker->rendering_stats()->totalPixelsRasterized;
stats->totalDeferredImageDecodeCount +=
« no previous file with comments | « cc/tile_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698