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

Unified Diff: components/view_manager/surfaces/surfaces_scheduler.h

Issue 1192663005: cc: Measure compositor timing with finer granularity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@modeTimingHistory3
Patch Set: fixes Created 5 years, 6 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
Index: components/view_manager/surfaces/surfaces_scheduler.h
diff --git a/components/view_manager/surfaces/surfaces_scheduler.h b/components/view_manager/surfaces/surfaces_scheduler.h
index 7f069ad5e39c101b178e5bc1f2d9d9bbeedb6a9c..286e82010669142638f45b2d7825445891f6759f 100644
--- a/components/view_manager/surfaces/surfaces_scheduler.h
+++ b/components/view_manager/surfaces/surfaces_scheduler.h
@@ -11,6 +11,7 @@
namespace cc {
class Display;
+class RenderingStatsInstrumentation;
}
namespace surfaces {
@@ -42,15 +43,13 @@ class SurfacesScheduler : public cc::SchedulerClient {
void ScheduledActionPrepareTiles() override;
void ScheduledActionInvalidateOutputSurface() override;
void DidAnticipatedDrawTimeChange(base::TimeTicks time) override;
- base::TimeDelta DrawDurationEstimate() override;
- base::TimeDelta BeginMainFrameToCommitDurationEstimate() override;
- base::TimeDelta CommitToActivateDurationEstimate() override;
void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override;
void SendBeginMainFrameNotExpectedSoon() override;
std::set<cc::Display*> displays_;
scoped_ptr<cc::Scheduler> scheduler_;
- base::TimeDelta draw_estimate_;
+ scoped_ptr<cc::RenderingStatsInstrumentation>
+ rendering_stats_instrumentation_;
DISALLOW_COPY_AND_ASSIGN(SurfacesScheduler);
};

Powered by Google App Engine
This is Rietveld 408576698