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

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: Rebase to 182752 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 ef96035ede3b09b4e7acf68fa0586db7ffbeada8..20fdb65402c13a6cc4040306cbfdfcdfa25d652d 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -950,6 +950,9 @@ void TileManager::PerformRaster(uint8* buffer,
base::TimeTicks end_time = base::TimeTicks::HighResNow();
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.h ('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