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

Unified Diff: base/test/perf_log.cc

Issue 196343019: IPC: Make ipc_perftests run on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
Index: base/test/perf_log.cc
diff --git a/base/test/perf_log.cc b/base/test/perf_log.cc
index efc1d42ee656cee2a1239c8cbf7c29887bb5f0cd..3bb10824e8ea40bdebe8db330881339a2eb47ec3 100644
--- a/base/test/perf_log.cc
+++ b/base/test/perf_log.cc
@@ -38,7 +38,10 @@ void LogPerfResult(const char* test_name, double value, const char* units) {
}
fprintf(perf_log_file, "%s\t%g\t%s\n", test_name, value, units);
+
+ fflush(stdout);
viettrungluu 2014/03/15 17:25:27 I'm not sure why you fflush() before the printf().
epenner 2014/03/17 20:24:53 I must admit I just lifted this from some other pe
printf("%s\t%g\t%s\n", test_name, value, units);
+ fflush(stdout);
}
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698