Fix typo in the Gentoo initscript.
[fbsplash.git] / core / misc / avg.sh
blob09fc780cfcb48c28b46a38c0260860377086bfad
1 #!/bin/bash
3 cnt=25
4 sum=0
6 for i in `seq 0 $cnt`
7 do
8 res=`/usr/bin/time -f %U ./benchmark 2>&1`
9 sum=`echo "$sum + $res" | bc`
10 done
12 echo "scale=2 ; $sum / $cnt" | bc