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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 10225017: Explicitly track the time source type in base/profiler/alternate_timer.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a spot.. Created 8 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
« base/profiler/alternate_timer.h ('K') | « base/profiler/alternate_timer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index 36be84f274be5b0411119eb5f2f828da342cbee7..b79ecef1f50da42a7ca28c5e9b10e7e08af07e53 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -787,7 +787,8 @@ void MetricsLog::RecordProfilerData(
content::ProcessType process_type) {
DCHECK(!locked());
- if (tracked_objects::GetAlternateTimeSource()) {
+ if (tracked_objects::GetTimeSourceType() !=
+ tracked_objects::TIME_SOURCE_TYPE_WALL_TIME) {
// We currently only support the default time source, wall clock time.
return;
}
« base/profiler/alternate_timer.h ('K') | « base/profiler/alternate_timer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698