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

Unified Diff: cc/trees/thread_proxy.h

Issue 914403003: cc: Add main frame timing info to frame timing tracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/thread_proxy.h
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
index 51cc18cd95fc6c89d86f6b48c38cb818ea64a32b..2c3fc2a34ebbe29cd2ff13dc673001f276d8c755 100644
--- a/cc/trees/thread_proxy.h
+++ b/cc/trees/thread_proxy.h
@@ -143,6 +143,10 @@ class CC_EXPORT ThreadProxy : public Proxy,
scoped_ptr<BeginFrameSource> external_begin_frame_source;
+ // Values used to keep track of frame durations. Used only in frame timing.
+ BeginFrameArgs last_begin_main_frame_args;
+ BeginFrameArgs last_processed_begin_main_frame_args;
+
scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl;
base::WeakPtrFactory<ThreadProxy> weak_factory;
};

Powered by Google App Engine
This is Rietveld 408576698