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

Unified Diff: cc/scheduler/scheduler.h

Issue 1192663005: cc: Measure compositor timing with finer granularity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@modeTimingHistory3
Patch Set: don't reset timing history Created 5 years, 5 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 | « cc/scheduler/compositor_timing_history_unittest.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index 3bf4f7fd54fcc9e76692552aec2378daefd6235a..967d31b7f5912a192ae32daf6d38f1d1a436db22 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -101,7 +101,9 @@ class CC_EXPORT Scheduler : public BeginFrameObserverBase {
void NotifyReadyToCommit();
void BeginMainFrameAborted(CommitEarlyOutReason reason);
+ void DidCommit();
+ void WillPrepareTiles();
void DidPrepareTiles();
void DidLoseOutputSurface();
void DidCreateAndInitializeOutputSurface();
@@ -198,6 +200,7 @@ class CC_EXPORT Scheduler : public BeginFrameObserverBase {
void DrawAndSwapIfPossible();
void DrawAndSwapForced();
void ProcessScheduledActions();
+ void UpdateCompositorTimingHistoryRecordingEnabled();
bool CanCommitAndActivateBeforeDeadline() const;
void AdvanceCommitStateIfPossible();
bool IsBeginMainFrameSentOrStarted() const;
« no previous file with comments | « cc/scheduler/compositor_timing_history_unittest.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698