spot/bench/dtgbasat/stats.sh
Alexandre Duret-Lutz 497710ecc2 dtgbasat: rename all.log into all.csv
In order to match the tarballs of the FORTE'14 paper.

* bench/dtgbasat/stats.sh, bench/dtgbasat/README: Here.
2016-10-14 16:05:35 +02:00

42 lines
855 B
Bash
Executable file

#!/bin/sh
ltlfilt=../../bin/ltlfilt
ltl2tgba=../../bin/ltl2tgba
dstar2tgba=../../bin/dstar2tgba
timeout='timeout -sKILL 1h'
stats=--stats="%s, %e, %t, %a, %c, %d, %p, %r"
empty='-, -, -, -, -, -, -, -'
rm -f stats.mk stats.tmp
n=1
all=
while IFS=, read f type accmax accmin; do
unset IFS
case $type in
*TCONG*)
echo "$n.log:; ./stat.sh $n '$f' $type $accmax >\$@" >> stats.tmp
all="$all $n.log"
n=`expr $n + 1`
echo "$n.log:; ./stat.sh $n '$f' DRA-CONG $accmax >\$@" >> stats.tmp
all="$all $n.log"
n=`expr $n + 1`
;;
*)
echo "$n.log:; ./stat.sh $n '$f' $type $accmax >\$@" >> stats.tmp
all="$all $n.log"
n=`expr $n + 1`
;;
esac
done < info.ltl
cat > stats.mk <<EOF
ALL = $all
all.csv: \$(ALL)
cat \$(ALL) >\$@
EOF
cat stats.tmp >> stats.mk
echo "Now, run something like: make -j8 -f stats.mk"