Index: build/android/pylib/perf_tests_helper.py |
diff --git a/build/android/pylib/perf_tests_helper.py b/build/android/pylib/perf_tests_helper.py |
index ee2519bbd3a2b523a57700d26019184c5c478449..9cd35c6f67ccdafff26b3bbd62590ea8d6da6a04 100644 |
--- a/build/android/pylib/perf_tests_helper.py |
+++ b/build/android/pylib/perf_tests_helper.py |
@@ -3,6 +3,7 @@ |
# found in the LICENSE file. |
import re |
+import sys |
import android_commands |
import json |
@@ -123,6 +124,7 @@ def PrintPerfResult(measurement, trace, values, units, result_type='default', |
output += '\nSd %s: %f%s' % (measurement, sd, units) |
if print_to_stdout: |
print output |
+ sys.stdout.flush() |
return output |