Mercurial > hg > CbC > CbC_gcc
diff CbC-examples/conv1/benchmark.sh @ 93:0b0b0782e795
modify c-parser.c:cbc_finish_nested_function
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Jan 2012 02:50:46 +0900 |
parents | 689bf9141c8c |
children | 85047c4f1ca4 |
line wrap: on
line diff
--- a/CbC-examples/conv1/benchmark.sh Wed Jan 04 02:15:01 2012 +0900 +++ b/CbC-examples/conv1/benchmark.sh Tue Jan 17 02:50:46 2012 +0900 @@ -10,7 +10,7 @@ echo "$CONV1 $1" while [[ $count -lt $num ]]; do # /usr/bin/time -p ./conv1 1 2>&1 >& - |grep '^user'|tr -s " "|cut -f2 -d" " - usertime=$( $time -p $CONV1 1 2>&1 >& - |grep '^user'|tr -s " " |cut -f2 -d" ") + usertime=$( $time -p $CONV1 $1 2>&1 >& - |grep '^user'|tr -s " " |cut -f2 -d" ") echo $usertime amount=$(($usertime+$amount))