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

Unified Diff: base/process/process_metrics.h

Issue 139103007: Use TimeTicks instead of gettimeofday in ProcessMetrics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reverty Created 6 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 | « no previous file | base/process/process_metrics_freebsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_metrics.h
diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h
index 45f2ef9d594407d4b7de0e00c781e0b518a529e0..840f933bc3509e57490f5e79435e360e11b0b9ab 100644
--- a/base/process/process_metrics.h
+++ b/base/process/process_metrics.h
@@ -205,11 +205,11 @@ class BASE_EXPORT ProcessMetrics {
// Used to store the previous times and CPU usage counts so we can
// compute the CPU usage between calls.
- int64 last_cpu_time_;
+ TimeTicks last_cpu_time_;
int64 last_system_time_;
// Same thing for idle wakeups.
- int64 last_idle_wakeups_time_;
+ TimeTicks last_idle_wakeups_time_;
int64 last_absolute_idle_wakeups_;
#if !defined(OS_IOS)
« no previous file with comments | « no previous file | base/process/process_metrics_freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698