diff options
author | Kevin Lubick <kjlubick@google.com> | 2017-11-21 16:47:16 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-21 22:38:20 +0000 |
commit | d1bbd5f77753ba275d2903c19eb1d5a5fb616f71 (patch) | |
tree | a5217b32b5d282ac4752e438b121413a0a9102ed /infra/bots/recipes/test.expected/Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android.json | |
parent | 7784facfaddc69a79ecc6ed699e40aad344f3e3b (diff) |
Make CPU scaling code cleaner
This also makes *sure* the CPU frequency we set the
device to actually "takes". Along the way, I learned
if scaling_max_freq is < the frequency we set, the
scaling_max_freq will be used instead, which was
happening to the PixelCs and AndroidOnes.
As a result, this may make those two Test- configs faster.
Bug: skia:
Change-Id: I10c98d37e296a19e1cf67bfe7269bb59cdd912d5
Reviewed-on: https://skia-review.googlesource.com/74360
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipes/test.expected/Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android.json')
-rw-r--r-- | infra/bots/recipes/test.expected/Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android.json | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/infra/bots/recipes/test.expected/Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android.json b/infra/bots/recipes/test.expected/Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android.json index dfc3fdfcc3..babef632b9 100644 --- a/infra/bots/recipes/test.expected/Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android.json +++ b/infra/bots/recipes/test.expected/Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android.json @@ -656,87 +656,6 @@ { "cmd": [ "adb.1.0.35", - "root" - ], - "cwd": "[START_DIR]/skia", - "env": { - "BUILDTYPE": "Debug", - "CHROME_HEADLESS": "1", - "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", - "SKIA_OUT": "[START_DIR]/out" - }, - "infra_step": true, - "name": "root (to set cpu frequency)", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "adb.1.0.35", - "shell", - "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies" - ], - "cwd": "[START_DIR]/skia", - "env": { - "BUILDTYPE": "Debug", - "CHROME_HEADLESS": "1", - "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", - "SKIA_OUT": "[START_DIR]/out" - }, - "infra_step": true, - "name": "fetch available frequencies", - "stdout": "/path/to/tmp/" - }, - { - "cmd": [ - "adb.1.0.35", - "shell", - "echo \"userspace\" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" - ], - "cwd": "[START_DIR]/skia", - "env": { - "BUILDTYPE": "Debug", - "CHROME_HEADLESS": "1", - "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", - "SKIA_OUT": "[START_DIR]/out" - }, - "infra_step": true, - "name": "Set cpu governer to userspace" - }, - { - "cmd": [ - "adb.1.0.35", - "shell", - "echo 100000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed" - ], - "cwd": "[START_DIR]/skia", - "env": { - "BUILDTYPE": "Debug", - "CHROME_HEADLESS": "1", - "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", - "SKIA_OUT": "[START_DIR]/out" - }, - "infra_step": true, - "name": "Set frequency to 100000" - }, - { - "cmd": [ - "adb.1.0.35", - "shell", - "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed" - ], - "cwd": "[START_DIR]/skia", - "env": { - "BUILDTYPE": "Debug", - "CHROME_HEADLESS": "1", - "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", - "SKIA_OUT": "[START_DIR]/out" - }, - "infra_step": true, - "name": "Observed frequency after setting" - }, - { - "cmd": [ - "adb.1.0.35", "push", "[START_DIR]/out/Debug/dm", "/data/local/tmp/" |