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

Unified Diff: base/debug/trace_event_impl.cc

Issue 9474023: Sync trace time on Chrome OS (just like Android) (Closed) Base URL: http://git.chromium.org/git/chromium/src@master
Patch Set: Created 8 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event_impl.cc
diff --git a/base/debug/trace_event_impl.cc b/base/debug/trace_event_impl.cc
index 1f23c369014932f097753dd10af062693292f1fe..1d8cddab0abc5629362a5a86ab0fd6e25a36c80e 100644
--- a/base/debug/trace_event_impl.cc
+++ b/base/debug/trace_event_impl.cc
@@ -683,7 +683,7 @@ void TraceLog::AddTraceEventEtw(char phase,
}
void TraceLog::AddClockSyncMetadataEvents() {
-#if defined(OS_ANDROID)
+#if defined(OS_ANDROID) || defined(OS_CHROMEOS)
// Since Android does not support sched_setaffinity, we cannot establish clock
nduca 2012/02/27 22:47:36 You probably want to adjust the comments here, the
jar (doing other things) 2012/02/27 22:54:10 +1 On 2012/02/27 22:47:36, nduca wrote:
// sync unless the scheduler clock is set to global. If the trace_clock file
// can't be read, we will assume the kernel doesn't support tracing and do
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698