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

Unified Diff: cc/test/scheduler_test_common.h

Issue 1213653005: Revert of cc: Measure compositor timing with finer granularity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@modeTimingHistory3
Patch Set: 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/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/scheduler_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/scheduler_test_common.h
diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h
index c1a8c1023599f25f4fec18593daa43325453d94a..c66b16261535a3183fcbbe5571cf52829856d7ac 100644
--- a/cc/test/scheduler_test_common.h
+++ b/cc/test/scheduler_test_common.h
@@ -166,17 +166,13 @@
static scoped_ptr<FakeCompositorTimingHistory> Create();
~FakeCompositorTimingHistory() override;
+ void SetDrawDurationEstimate(base::TimeDelta duration);
void SetBeginMainFrameToCommitDurationEstimate(base::TimeDelta duration);
- void SetCommitToReadyToActivateDurationEstimate(base::TimeDelta duration);
- void SetPrepareTilesDurationEstimate(base::TimeDelta duration);
- void SetActivateDurationEstimate(base::TimeDelta duration);
- void SetDrawDurationEstimate(base::TimeDelta duration);
-
+ void SetCommitToActivateDurationEstimate(base::TimeDelta duration);
+
+ base::TimeDelta DrawDurationEstimate() const override;
base::TimeDelta BeginMainFrameToCommitDurationEstimate() const override;
- base::TimeDelta CommitToReadyToActivateDurationEstimate() const override;
- base::TimeDelta PrepareTilesDurationEstimate() const override;
- base::TimeDelta ActivateDurationEstimate() const override;
- base::TimeDelta DrawDurationEstimate() const override;
+ base::TimeDelta CommitToActivateDurationEstimate() const override;
protected:
FakeCompositorTimingHistory(scoped_ptr<RenderingStatsInstrumentation>
@@ -185,11 +181,9 @@
scoped_ptr<RenderingStatsInstrumentation>
rendering_stats_instrumentation_owned_;
+ base::TimeDelta draw_duration_;
base::TimeDelta begin_main_frame_to_commit_duration_;
- base::TimeDelta commit_to_ready_to_activate_duration_;
- base::TimeDelta prepare_tiles_duration_;
- base::TimeDelta activate_duration_;
- base::TimeDelta draw_duration_;
+ base::TimeDelta commit_to_activate_duration_;
private:
DISALLOW_COPY_AND_ASSIGN(FakeCompositorTimingHistory);
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/test/scheduler_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698