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

Unified Diff: cc/scheduler/compositor_timing_history.h

Issue 2752573002: Add BeginFrameLatency UMA (Closed)
Patch Set: Skip frames that originate from BeginFrameArgs::MISSED args 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') | cc/scheduler/compositor_timing_history.cc » ('J')
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 fb2fd816744ed2930b9f9db3e77e00a7be77e56f..d209692aa13d2d2341dbde19fe60cfb607631a65 100644
--- a/cc/scheduler/compositor_timing_history.h
+++ b/cc/scheduler/compositor_timing_history.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "cc/base/rolling_time_delta_history.h"
+#include "cc/output/begin_frame_args.h"
namespace base {
namespace trace_event {
@@ -57,7 +58,8 @@ class CC_EXPORT CompositorTimingHistory {
void WillFinishImplFrame(bool needs_redraw);
void BeginImplFrameNotExpectedSoon();
void WillBeginMainFrame(bool on_critical_path,
- base::TimeTicks main_frame_time);
+ base::TimeTicks main_frame_time,
+ BeginFrameArgs::BeginFrameArgsType frame_type);
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') | cc/scheduler/compositor_timing_history.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698