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

Unified Diff: tools/telemetry/telemetry/page/page_runner.py

Issue 18764005: [Telemetry] Cut down on the amount of log spam on the android perf bots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also avoid pulling the omap_temp_file Created 7 years, 5 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 | « build/android/pylib/thermal_throttle.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/page_runner.py
diff --git a/tools/telemetry/telemetry/page/page_runner.py b/tools/telemetry/telemetry/page/page_runner.py
index 618894e4ef6e2f31a9c35b1f7d9dca1c79786d2a..01f4b3ca15dae4d1fc634925f608aa3de374ac08 100644
--- a/tools/telemetry/telemetry/page/page_runner.py
+++ b/tools/telemetry/telemetry/page/page_runner.py
@@ -412,7 +412,7 @@ def _WaitForThermalThrottlingIfNeeded(platform):
thermal_throttling_retry += 1
time.sleep(thermal_throttling_retry * 2)
- if platform.IsThermallyThrottled():
+ if thermal_throttling_retry and platform.IsThermallyThrottled():
logging.error('Device is thermally throttled before running '
'performance tests, results will vary.')
« no previous file with comments | « build/android/pylib/thermal_throttle.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698