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

Unified Diff: build/android/pylib/perf/perf_control.py

Issue 605773002: [Android] Do not check if cpu0 is online. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: build/android/pylib/perf/perf_control.py
diff --git a/build/android/pylib/perf/perf_control.py b/build/android/pylib/perf/perf_control.py
index f4ce855aadff35d25050ac392ba0136d7735ccbd..d90edf45fc92779b183fa80d1c924cc0a757f051 100644
--- a/build/android/pylib/perf/perf_control.py
+++ b/build/android/pylib/perf/perf_control.py
@@ -77,7 +77,7 @@ class PerfControl(object):
self._device.RunShellCommand(script, as_root=True)
def _AllCpusAreOnline(self):
- for cpu in range(self._num_cpu_cores):
+ for cpu in range(1, self._num_cpu_cores):
online_path = PerfControl._CPU_ONLINE_FMT % cpu
# TODO(epenner): Investigate why file may be missing
# (http://crbug.com/397118)
« 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