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

Unified Diff: cc/tile_manager.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: assume that rasterize time is saved after paint time 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
Index: cc/tile_manager.cc
diff --git a/cc/tile_manager.cc b/cc/tile_manager.cc
index fef3c8d7fd336dad8fea321c748788ded9b189ed..19779e408a630b681a26db7459abe4df397d8658 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -935,6 +935,9 @@ void TileManager::PerformRaster(uint8* buffer,
base::TimeTicks end_time = base::TimeTicks::Now();
base::TimeDelta duration = end_time - begin_time;
stats->totalRasterizeTime += duration;
+ if (raster_task_metadata.is_tile_in_pending_tree_now_bin)
+ stats->totalRasterizeTimeForNowBinsOnPendingTree += duration;
+
UMA_HISTOGRAM_CUSTOM_COUNTS("Renderer4.PictureRasterTimeMS",
duration.InMilliseconds(),
0,
« cc/paint_time_counter.cc ('K') | « cc/ring_buffer.h ('k') | cc/worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698