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

Unified Diff: base/message_loop/message_pump_win.h

Issue 2036603002: MessagePumpForGpu - reduce potential work processing starvation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback Created 4 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
« no previous file with comments | « no previous file | base/message_loop/message_pump_win.cc » ('j') | base/message_loop/message_pump_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop/message_pump_win.h
diff --git a/base/message_loop/message_pump_win.h b/base/message_loop/message_pump_win.h
index ad6c119ca9e0962ae2317dddc13ae651d411e945..bf4cdaa8420b8ba3c6f2b9c81f5679a490c71138 100644
--- a/base/message_loop/message_pump_win.h
+++ b/base/message_loop/message_pump_win.h
@@ -172,6 +172,10 @@ class BASE_EXPORT MessagePumpForGpu : public MessagePumpWin {
bool ProcessNextMessage();
const HANDLE event_;
+
+ // Used to help diagnose hangs.
+ // TODO(stanisc): crbug.com/596190: Remove these once the bug is fixed.
+ TimeTicks last_set_event_timeticks_;
};
//-----------------------------------------------------------------------------
« no previous file with comments | « no previous file | base/message_loop/message_pump_win.cc » ('j') | base/message_loop/message_pump_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698