summaryrefslogtreecommitdiff
path: root/automated/android/tjbench
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-10-17 10:14:42 +0800
committerChase Qi <chase.qi@linaro.org>2017-10-17 10:16:05 +0800
commitfeaa55e7bd649968630fd0543300f34a7de917e3 (patch)
treed2c99fe8945220f880ecd6a596eaff00bb2fa55f /automated/android/tjbench
parentc22e44e40364a139f762dacfd0ca283d154fc954 (diff)
android: tjbench: replace ratio units '%' with 'percent'
'%' is reserved character for some version awk, use 'percent' instead to make it more portable. Change-Id: Ifcd8d79c7847e56d46edd3f071790c4820173d83 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/android/tjbench')
-rwxr-xr-xautomated/android/tjbench/tjbench.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/android/tjbench/tjbench.sh b/automated/android/tjbench/tjbench.sh
index 6961e66..b79a86a 100755
--- a/automated/android/tjbench/tjbench.sh
+++ b/automated/android/tjbench/tjbench.sh
@@ -42,7 +42,7 @@ parse_log() {
'{
gsub(":", "", $3);
printf("%s_%s_comp_perf pass %s Mpixels/sec\n", prefix, $3, $7);
- printf("%s_%s_comp_ratio pass %s %\n", prefix, $3, $8);
+ printf("%s_%s_comp_ratio pass %s percent\n", prefix, $3, $8);
printf("%s_%s_decomp_perf pass %s Mpixels/sec\n", prefix, $3, $9);
}' \
| tee -a "${RESULT_FILE}"