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

Unified Diff: chrome/browser/mac/mac_startup_profiler.h

Issue 1425263003: Use TimeTicks as much as possible in startup_metric_utils. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ifdef thread priority dance out on Mac per lack of support in base Created 5 years, 1 month 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
Index: chrome/browser/mac/mac_startup_profiler.h
diff --git a/chrome/browser/mac/mac_startup_profiler.h b/chrome/browser/mac/mac_startup_profiler.h
index 05dcf6cc245e77641153213318fcc7f2d39b5b5e..da36c606f4874fce9b0e7584c5aa7555eb83a586 100644
--- a/chrome/browser/mac/mac_startup_profiler.h
+++ b/chrome/browser/mac/mac_startup_profiler.h
@@ -51,7 +51,7 @@ class MacStartupProfiler {
void RecordHistogram(Location location, const base::TimeDelta& delta);
// Keeps track of the time at which each initialization phase was reached.
- std::map<Location, base::Time> profiled_times_;
+ std::map<Location, base::TimeTicks> profiled_ticks_;
// Whether UMA metrics have been recorded. Only record UMA metrics once.
bool recorded_metrics_;

Powered by Google App Engine
This is Rietveld 408576698