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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2774813002: Hang Monitor UMA (Closed)
Patch Set: 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
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 74595277b72a72f3014793de422ea39ddfeee593..d7d76fde7c5962fd458406caac564ce07f84d31e 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -809,6 +809,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// operation to finish.
base::TimeTicks repaint_start_time_;
+ // Used for UMA histogram logging to measure how long the renderer is hanging
+ base::TimeTicks hang_start_time_;
+
// Set to true if we shouldn't send input events from the render widget.
bool ignore_input_events_;

Powered by Google App Engine
This is Rietveld 408576698