Index: cc/scheduler/compositor_timing_history.h |
diff --git a/cc/scheduler/compositor_timing_history.h b/cc/scheduler/compositor_timing_history.h |
index b64dc0561a52cb8c6a2f32c65ebb068598f624aa..e25d93e3f8cc1e71c216ce5ec593ebac8274639b 100644 |
--- a/cc/scheduler/compositor_timing_history.h |
+++ b/cc/scheduler/compositor_timing_history.h |
@@ -54,7 +54,8 @@ class CC_EXPORT CompositorTimingHistory { |
void WillBeginImplFrame(bool new_active_tree_is_likely); |
void WillFinishImplFrame(bool needs_redraw); |
void BeginImplFrameNotExpectedSoon(); |
- void WillBeginMainFrame(bool on_critical_path); |
+ void WillBeginMainFrame(bool on_critical_path, |
+ base::TimeTicks main_frame_time); |
void BeginMainFrameStarted(base::TimeTicks main_thread_start_time); |
void BeginMainFrameAborted(); |
void DidCommit(); |
@@ -64,7 +65,9 @@ class CC_EXPORT CompositorTimingHistory { |
void WillActivate(); |
void DidActivate(); |
void WillDraw(); |
- void DidDraw(bool used_new_active_tree); |
+ void DidDraw(bool used_new_active_tree, |
+ bool main_thread_missed_last_deadline, |
+ base::TimeTicks impl_frame_time); |
void DidSwapBuffers(); |
void DidSwapBuffersComplete(); |
void DidSwapBuffersReset(); |
@@ -100,11 +103,14 @@ class CC_EXPORT CompositorTimingHistory { |
RollingTimeDeltaHistory draw_duration_history_; |
bool begin_main_frame_on_critical_path_; |
+ base::TimeTicks begin_main_frame_frame_time_; |
base::TimeTicks begin_main_frame_sent_time_; |
base::TimeTicks begin_main_frame_start_time_; |
base::TimeTicks begin_main_frame_end_time_; |
+ base::TimeTicks pending_tree_main_frame_time_; |
base::TimeTicks prepare_tiles_start_time_; |
base::TimeTicks activate_start_time_; |
+ base::TimeTicks active_tree_main_frame_time_; |
base::TimeTicks draw_start_time_; |
base::TimeTicks swap_start_time_; |