Chromium Code Reviews| Index: tools/android/adb_profile_chrome/perf_controller.py |
| diff --git a/tools/android/adb_profile_chrome/perf_controller.py b/tools/android/adb_profile_chrome/perf_controller.py |
| index 523fb855ff1156999b4ca1b129145ea9a5d60305..1012f4a1e6fb65be15e1ba116fffea35a21fec66 100644 |
| --- a/tools/android/adb_profile_chrome/perf_controller.py |
| +++ b/tools/android/adb_profile_chrome/perf_controller.py |
| @@ -58,7 +58,7 @@ class _PerfProfiler(object): |
| if categories: |
| cmd += ['--event', ','.join(categories)] |
| self._perf_control = perf_control.PerfControl(self._device) |
| - self._perf_control.ForceAllCpusOnline(True) |
| + self._perf_control.ForceHighPerfMode(True) |
|
Sami
2014/06/19 18:12:43
True should be removed, right?
BTW, tools/android
epenner
2014/06/19 23:58:50
Thanks. I ran the above and the other test manuall
|
| self._perf_process = subprocess.Popen(cmd, |
| stdout=self._log_file, |
| stderr=subprocess.STDOUT) |
| @@ -67,7 +67,7 @@ class _PerfProfiler(object): |
| perf_pids = self._device.old_interface.ExtractPid('perf') |
| self._device.RunShellCommand('kill -SIGINT ' + ' '.join(perf_pids)) |
| self._perf_process.wait() |
| - self._perf_control.ForceAllCpusOnline(False) |
| + self._perf_control.SetDefaultPerfMode() |
| def _FailWithLog(self, msg): |
| self._log_file.seek(0) |