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

Unified Diff: content/gpu/gpu_watchdog_thread.h

Issue 1804303002: Save variables on stack to help determine why GPU watchdog is firing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/gpu/gpu_watchdog_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_watchdog_thread.h
diff --git a/content/gpu/gpu_watchdog_thread.h b/content/gpu/gpu_watchdog_thread.h
index 480e58584931559c29be09ee7aefb4117e88fa1e..2f8cecd73de522418545383f46102cfe58ad033b 100644
--- a/content/gpu/gpu_watchdog_thread.h
+++ b/content/gpu/gpu_watchdog_thread.h
@@ -108,6 +108,10 @@ class GpuWatchdogThread : public base::Thread,
#if defined(OS_WIN)
void* watched_thread_handle_;
base::TimeDelta arm_cpu_time_;
+
+ // This measures the time that the system has been running, in units of 100
+ // ns.
+ ULONGLONG arm_interrupt_time_;
#endif
// Time after which it's assumed that the computer has been suspended since
@@ -118,6 +122,7 @@ class GpuWatchdogThread : public base::Thread,
// This is the time the last check was sent.
base::Time check_time_;
+ base::TimeTicks check_timeticks_;
#if defined(OS_CHROMEOS)
FILE* tty_file_;
« no previous file with comments | « no previous file | content/gpu/gpu_watchdog_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698