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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h

Issue 2954473002: Record accuracy of expected queueing time metric. (Closed)
Patch Set: Set trace ID in test. Created 3 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: third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h
diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h b/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h
index 8336f29aafa5c975fa8a54453734766279f48ade..ded5cf3d0a97528a96b0e3a9cb9032ee64e0ea35 100644
--- a/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h
@@ -101,6 +101,7 @@ class PLATFORM_EXPORT RendererSchedulerImpl
InputEventState event_state) override;
void DidHandleInputEventOnMainThread(const WebInputEvent& web_input_event,
WebInputEventResult result) override;
+ base::TimeDelta MostRecentExpectedQueueingTime() override;
void DidAnimateForInputOnCompositorThread() override;
void SetRendererHidden(bool hidden) override;
void SetRendererBackgrounded(bool backgrounded) override;
@@ -483,6 +484,7 @@ class PLATFORM_EXPORT RendererSchedulerImpl
base::TimeTicks estimated_next_frame_begin;
base::TimeTicks current_task_start_time;
base::TimeTicks uma_last_queueing_time_report_window_start_time;
+ base::TimeDelta most_recent_expected_queueing_time;
base::TimeDelta compositor_frame_interval;
base::TimeDelta longest_jank_free_task_duration;
base::Optional<base::TimeTicks> last_audio_state_change;

Powered by Google App Engine
This is Rietveld 408576698