2007-11-28 17:56:37 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rm -f data-*
|
|
|
|
rm -f *.eps
|
|
|
|
|
|
|
|
./extract < $1
|
|
|
|
|
|
|
|
echo "Drawing graphs. Don't worry about messages about 'no valid points'."
|
|
|
|
|
|
|
|
for f in `echo data-*`
|
|
|
|
do
|
|
|
|
echo $f
|
|
|
|
cp $f data
|
|
|
|
cp lost-$f lost
|
|
|
|
cp dup-$f dup
|
|
|
|
cp parent-$f parent
|
2008-01-08 09:28:09 +01:00
|
|
|
cp power-$f power
|
2007-11-28 17:56:37 +01:00
|
|
|
gnuplot plot-all
|
|
|
|
for p in `echo plot-*.eps`
|
|
|
|
do
|
|
|
|
mv $p $f-$p
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
gnuplot plot-power
|
|
|
|
|
|
|
|
./stats < $1
|