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

Unified Diff: cc/debug/rendering_stats.h

Issue 363003002: Add duration estimation data to RenderingStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check we only add duration data once per frame. 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
« no previous file with comments | « no previous file | cc/debug/rendering_stats.cc » ('j') | cc/debug/rendering_stats.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/rendering_stats.h
diff --git a/cc/debug/rendering_stats.h b/cc/debug/rendering_stats.h
index bd3b7c7244282fdd6888ae31fc67d0ea41de8758..ead9f8cdfda337ca290219f2bf40df512c9b0076 100644
--- a/cc/debug/rendering_stats.h
+++ b/cc/debug/rendering_stats.h
@@ -38,6 +38,13 @@ struct CC_EXPORT ImplThreadRenderingStats {
int64 visible_content_area;
int64 approximated_visible_content_area;
+ base::TimeDelta draw_duration;
+ base::TimeDelta draw_duration_estimate;
+ base::TimeDelta begin_main_frame_to_commit_duration;
+ base::TimeDelta begin_main_frame_to_commit_duration_estimate;
+ base::TimeDelta commit_to_activate_duration;
+ base::TimeDelta commit_to_activate_duration_estimate;
+
ImplThreadRenderingStats();
scoped_refptr<base::debug::ConvertableToTraceFormat> AsTraceableData() const;
void Add(const ImplThreadRenderingStats& other);
« no previous file with comments | « no previous file | cc/debug/rendering_stats.cc » ('j') | cc/debug/rendering_stats.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698