Chromium Code Reviews| Index: cc/scheduler/compositor_timing_history.h |
| diff --git a/cc/scheduler/compositor_timing_history.h b/cc/scheduler/compositor_timing_history.h |
| index 757072b8c734543baaadd5bc537028e5083f5fcb..b09923ab308c53fededda6df230a35f77ca50212 100644 |
| --- a/cc/scheduler/compositor_timing_history.h |
| +++ b/cc/scheduler/compositor_timing_history.h |
| @@ -61,6 +61,9 @@ class CC_EXPORT CompositorTimingHistory { |
| void DidActivate(); |
| void WillDraw(); |
| void DidDraw(); |
| + void DidSwapBuffers(); |
| + void DidSwapBuffersComplete(); |
| + void DidSwapBuffersReset(); |
| protected: |
| static scoped_ptr<UMAReporter> CreateUMAReporter(UMACategory category); |
| @@ -84,6 +87,7 @@ class CC_EXPORT CompositorTimingHistory { |
| base::TimeTicks start_prepare_tiles_time_; |
| base::TimeTicks start_activate_time_; |
| base::TimeTicks start_draw_time_; |
| + base::TimeTicks swap_start_time_; |
|
tdresser
2015/11/06 13:00:34
start_swap_time_, for consistency.
mithro-old
2015/11/07 04:13:15
Won't this fail if we have a max_pending_swaps > 1
|
| scoped_ptr<UMAReporter> uma_reporter_; |
| RenderingStatsInstrumentation* rendering_stats_instrumentation_; |