aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/test.expected/Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android.json
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-11-20 16:06:06 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-20 21:14:18 +0000
commitbca95a5ac58913db18a326fdf90a36c6106a55ec (patch)
tree98046624a9c21657679d656f4075639f302c69a9 /infra/bots/recipes/test.expected/Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android.json
parente9d172af84fff5d76e19180a0c2b7b3cc51e90a2 (diff)
Put CPU frequency scaling in recipes
Bug: skia: Change-Id: I994f67c3043306d7fa612feb03f8fbe8d7bf4c91 Reviewed-on: https://skia-review.googlesource.com/73760 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipes/test.expected/Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android.json')
-rw-r--r--infra/bots/recipes/test.expected/Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android.json81
1 files changed, 81 insertions, 0 deletions
diff --git a/infra/bots/recipes/test.expected/Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android.json b/infra/bots/recipes/test.expected/Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android.json
index d56c689bf9..39d4ee1539 100644
--- a/infra/bots/recipes/test.expected/Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android.json
+++ b/infra/bots/recipes/test.expected/Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android.json
@@ -656,6 +656,87 @@
{
"cmd": [
"adb.1.0.35",
+ "root"
+ ],
+ "cwd": "[START_DIR]/skia",
+ "env": {
+ "BUILDTYPE": "Release",
+ "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": "Release",
+ "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": "Release",
+ "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": "Release",
+ "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": "Release",
+ "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/Release/dm",
"/data/local/tmp/"