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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 689503002: cc: Use commit to activation time in repaint HUD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused var Created 6 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
« no previous file with comments | « cc/layers/heads_up_display_layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 be9fd58282b19b90a93fd6e3d261c7a5bdafc131..19b4c18e46ef399a21f48372657a78fe150f1553 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1871,9 +1871,8 @@ void LayerTreeHostImpl::ActivateSyncTree() {
if (debug_state_.continuous_painting) {
const RenderingStats& stats =
rendering_stats_instrumentation_->GetRenderingStats();
- paint_time_counter_->SavePaintTime(stats.main_stats.paint_time +
brianderson 2014/10/29 00:24:15 What is main_stats.paint_time?
ernstm 2014/10/29 17:21:19 paint_time was a pre-impl-side painting metric, or
- stats.main_stats.record_time +
- stats.impl_stats.rasterize_time);
+ paint_time_counter_->SavePaintTime(
+ stats.impl_stats.commit_to_activate_duration.GetLastTimeDelta());
}
if (time_source_client_adapter_ && time_source_client_adapter_->Active())
« no previous file with comments | « cc/layers/heads_up_display_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698