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

Unified Diff: content/gpu/gpu_watchdog_thread.h

Issue 1910063003: More accurate implementation of watched thread time for Gpu Watchdog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comment Created 4 years, 8 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 | « base/time/time_win.cc ('k') | 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 bbbc71b4167aac0b221bab08653c67f6ba5c3cc7..c95c72e4fb761f7a7a2b12f54f6b8d4bb2ad98d5 100644
--- a/content/gpu/gpu_watchdog_thread.h
+++ b/content/gpu/gpu_watchdog_thread.h
@@ -88,7 +88,7 @@ class GpuWatchdogThread : public base::Thread,
void OnResume() override;
#if defined(OS_WIN)
- base::TimeDelta GetWatchedThreadTime();
+ base::ThreadTicks GetWatchedThreadTime();
#endif
base::MessageLoop* watched_message_loop_;
@@ -106,7 +106,7 @@ class GpuWatchdogThread : public base::Thread,
#if defined(OS_WIN)
void* watched_thread_handle_;
- base::TimeDelta arm_cpu_time_;
+ base::ThreadTicks arm_cpu_time_;
// This measures the time that the system has been running, in units of 100
// ns.
« no previous file with comments | « base/time/time_win.cc ('k') | content/gpu/gpu_watchdog_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698