summaryrefslogtreecommitdiff
path: root/app-launcher/README
diff options
context:
space:
mode:
authorMaggie White <maggiewhite@google.com>2017-06-21 17:42:25 -0700
committerMaggie White <maggiewhite@google.com>2017-06-26 11:17:08 -0700
commit5d58ea1a2253b447dc6b15a3a52ed7b790119c17 (patch)
tree1f30c41b66dffb0d1b14ad4c619d8c3dba015b0b /app-launcher/README
parent797cdee07445d47309a4623cd172daf7836328c4 (diff)
downloadextras-5d58ea1a2253b447dc6b15a3a52ed7b790119c17.tar.gz
Added setup commands and option to specify device
The script previously did not configure any framework settings for this script, so I added commands to disable any features that could affect the performance numbers like wifi, NFC, screen rotation. It also clears notifications and starts the device on the home screen. It's not possible prior to this commit to run the app-launcher on a host with multiple devices attached to adb, so I added a '-s <serial number' option that allows the user to specify a specific device based on its serial number. I also changed the spacing of the script to be all spaces instead of mixed tabs and spaces. Test: Manually ran script on a marlin device Change-Id: I82c621fe280033c55ba38bfdf95836fd95f5ed58
Diffstat (limited to 'app-launcher/README')
-rw-r--r--app-launcher/README6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-launcher/README b/app-launcher/README
index cca58aa5..238350e5 100644
--- a/app-launcher/README
+++ b/app-launcher/README
@@ -6,13 +6,15 @@ measures various system metrics, computes basic stats for the metrics
and reports that stats.
Launching app-launcher :
-app-launcher -a|-b|-u [-v] num-iterations
+app-launcher -a|-b|-u [-c|-v|-s <serial number>] num-iterations
-a:Run on all cores
-b:Run only big cores
-c:pagecached. Don't drop pagecache before each launch (not default)
-h:Dump help menu'
-u:user experience, no change to cpu/gpu frequencies or governors'
--v : Optional, Verbose mode, prints stats on a lot of metrics.
+-v:Optional, Verbose mode, prints stats on a lot of metrics.
+-s <serial number>:Optional, specify serial number if multiple devices are
+ attached to host
num-iterations : Must be >= 100 to get statistically valid data.
Note, under -a|-b, we lock the CPU and GPU frequencies.