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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 363003002: Add duration estimation data to RenderingStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: LTHI forwards estimates to rendering stats. Created 6 years, 5 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.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index f5142f925e413404df06c65b195e438a4373a812..c443b2e514e52bfa00bd5d26c2badc6e219cbc19 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -465,6 +465,13 @@ class CC_EXPORT LayerTreeHostImpl
void RegisterPictureLayerImpl(PictureLayerImpl* layer);
void UnregisterPictureLayerImpl(PictureLayerImpl* layer);
+ void AddBeginMainFrameToCommitDurationEstimate(base::TimeDelta duration,
+ base::TimeDelta estimate);
+ void AddCommitToActivateDurationEstimate(base::TimeDelta duration,
+ base::TimeDelta estimate);
+ void AddDrawDurationEstimate(base::TimeDelta duration,
+ base::TimeDelta estimate);
+
protected:
LayerTreeHostImpl(
const LayerTreeSettings& settings,

Powered by Google App Engine
This is Rietveld 408576698