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

Unified Diff: cc/trees/proxy_timing_history.h

Issue 363003002: Add duration estimation data to RenderingStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ImplThreadRenderingStatsAccumulated Created 6 years, 6 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/proxy_timing_history.h
diff --git a/cc/trees/proxy_timing_history.h b/cc/trees/proxy_timing_history.h
index 01a92d93a03f160cd424e6703eca3f9ec5e9a5e9..aa806b51890cd35a9213284f15d666c4531e0670 100644
--- a/cc/trees/proxy_timing_history.h
+++ b/cc/trees/proxy_timing_history.h
@@ -19,8 +19,10 @@ class ProxyTimingHistory {
base::TimeDelta CommitToActivateDurationEstimate() const;
void DidBeginMainFrame();
- void DidCommit();
- void DidActivatePendingTree();
+ // Returns BeginMainFrame-to-Commit duration.
+ base::TimeDelta DidCommit();
+ // Returns Commit-to-Activate duration.
+ base::TimeDelta DidActivatePendingTree();
void DidStartDrawing();
// Returns draw duration.
base::TimeDelta DidFinishDrawing();

Powered by Google App Engine
This is Rietveld 408576698