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

Unified Diff: cc/scheduler/compositor_timing_history.h

Issue 2754943002: Reimplement vsync latency UMA to be based on BeginImplFrame rather than BeginMainFrame (Closed)
Patch Set: Changed UMA metric name, removed VsyncTo. Created 3 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
« no previous file with comments | « no previous file | cc/scheduler/compositor_timing_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/compositor_timing_history.h
diff --git a/cc/scheduler/compositor_timing_history.h b/cc/scheduler/compositor_timing_history.h
index d209692aa13d2d2341dbde19fe60cfb607631a65..e82525b7489b831da05ec76613996100934cf220 100644
--- a/cc/scheduler/compositor_timing_history.h
+++ b/cc/scheduler/compositor_timing_history.h
@@ -54,12 +54,14 @@ class CC_EXPORT CompositorTimingHistory {
void DidCreateAndInitializeCompositorFrameSink();
// Events to be timed.
- void WillBeginImplFrame(bool new_active_tree_is_likely);
+ void WillBeginImplFrame(bool new_active_tree_is_likely,
+ base::TimeTicks frame_time,
+ BeginFrameArgs::BeginFrameArgsType frame_type,
+ base::TimeTicks now);
void WillFinishImplFrame(bool needs_redraw);
void BeginImplFrameNotExpectedSoon();
void WillBeginMainFrame(bool on_critical_path,
- base::TimeTicks main_frame_time,
- BeginFrameArgs::BeginFrameArgsType frame_type);
+ base::TimeTicks main_frame_time);
void BeginMainFrameStarted(base::TimeTicks main_thread_start_time);
void BeginMainFrameAborted();
void DidCommit();
« no previous file with comments | « no previous file | cc/scheduler/compositor_timing_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698