diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2016-08-25 00:20:47 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2016-08-26 00:24:05 +0800 |
commit | b1b4f37f95c23ac82b477ad6b3397b34a4f9034a (patch) | |
tree | 1c3e67431d001ed52615771e35e6e9ddaab0e72b | |
parent | 957139a4bdf76939b2a172a9b846a6cd44d5442d (diff) |
andebenchpro2015: fix the problem for getting memory related result
Change-Id: I60a2acca6006b7e605e68bd95f0d91ef2db66a25
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-x | andebenchpro2015/execute.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/andebenchpro2015/execute.sh b/andebenchpro2015/execute.sh index 7164a11..3cf47df 100755 --- a/andebenchpro2015/execute.sh +++ b/andebenchpro2015/execute.sh @@ -11,11 +11,11 @@ parent_dir=`dirname ${0}` source "${parent_dir}/../common/common.sh" function get_result(){ - local host_csv_f="${D_RAWDATA}/andebench.log.csv" + local host_csv_f="${D_RAWDATA}/andebench_${loop_count}.log.csv" adb pull /mnt/sdcard/Download/andebench.log.csv "${host_csv_f}" sed -i 's/ /_/g' "${host_csv_f}" sed -i 's/(\|)//g' "${host_csv_f}" - local regex="^CoreMark-PRO|^Memory Bandwidth,|^Memory Latency,|^Storage,|^Platform,|^3D,|^Overall" + local regex="^CoreMark-PRO|^Memory_Bandwidth,|^Memory_Latency,|^Storage,|^Platform,|^3D,|^Overall" for line in $(grep -P "${regex}" ${host_csv_f}); do local field1=$(echo $line|cut -d, -f1) local field2=$(echo $line|cut -d, -f2) |