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

Unified Diff: tools/skpbench/_hardware_nexus_6p.py

Issue 2486973002: skpbench: fix typo in 6P bash script (Closed)
Patch Set: Created 4 years, 1 month 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: tools/skpbench/_hardware_nexus_6p.py
diff --git a/tools/skpbench/_hardware_nexus_6p.py b/tools/skpbench/_hardware_nexus_6p.py
index 045f9a01fd79b5a4ae6a529458473d8212268662..7e9bb5545a053591aaf63da5988ba40bf4859636 100644
--- a/tools/skpbench/_hardware_nexus_6p.py
+++ b/tools/skpbench/_hardware_nexus_6p.py
@@ -106,8 +106,8 @@ class HardwareNexus6P(HardwareAndroid):
# unlock the 3 enabled big cores.
self._adb.shell('''\
for N in 6 5 4; do
- echo 633600 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
- echo 1958400 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
+ echo 633600 > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_min_freq
+ echo 1958400 > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_max_freq
echo 0 > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_setspeed
echo interactive > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_governor
done''')
« 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