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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 12780025: cc: Chromify rendering_stats (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 4c803ebab9e77865ed0ff0187378c79a471edd9e..f01af532446a4a7bcc3d9f310959888fe9f8ed35 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1178,7 +1178,7 @@ void LayerTreeHostImpl::ActivatePendingTree() {
RenderingStats stats;
tile_manager_->GetRenderingStats(&stats);
paint_time_counter_->SaveRasterizeTime(
- stats.totalRasterizeTimeForNowBinsOnPendingTree,
+ stats.total_rasterize_time_for_now_bins_on_pending_tree,
active_tree_->source_frame_number());
}
}
@@ -1797,12 +1797,12 @@ int LayerTreeHostImpl::SourceAnimationFrameNumber() const {
}
void LayerTreeHostImpl::CollectRenderingStats(RenderingStats* stats) const {
- stats->numFramesSentToScreen = fps_counter_->current_frame_number();
- stats->droppedFrameCount = fps_counter_->dropped_frame_count();
- stats->numImplThreadScrolls = num_impl_thread_scrolls_;
- stats->numMainThreadScrolls = num_main_thread_scrolls_;
- stats->numLayersDrawn = cumulative_num_layers_drawn_;
- stats->numMissingTiles = cumulative_num_missing_tiles_;
+ stats->num_frames_sent_to_screen = fps_counter_->current_frame_number();
+ stats->dropped_frame_count = fps_counter_->dropped_frame_count();
+ stats->num_impl_thread_scrolls = num_impl_thread_scrolls_;
+ stats->num_main_thread_scrolls = num_main_thread_scrolls_;
+ stats->num_layers_drawn = cumulative_num_layers_drawn_;
+ stats->num_missing_tiles = cumulative_num_missing_tiles_;
if (tile_manager_)
tile_manager_->GetRenderingStats(stats);

Powered by Google App Engine
This is Rietveld 408576698