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

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

Issue 2774813002: Hang Monitor UMA (Closed)
Patch Set: fixed typo and period 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 130dc421cf923215092820aa8dd55cb3fcb26f9f..0fd97d07db654d03958accd3ee35e1010143e3b7 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -732,6 +732,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
// responsive.
void StopHangMonitorTimeout();
+ // Used for UMA logging how long the renderer was unresponsive.
+ void LogHangMonitorUnresponsive();
+
// true if a renderer has once been valid. We use this flag to display a sad
// tab only when we lose our renderer and not if a paint occurs during
// initialization.
@@ -820,6 +823,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_;
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698