Statistics
| Revision:

root / branches / threaded2merge / examples / threaded / multisimple / do_time.sh @ 1531

History | View | Annotate | Download (326 Bytes)

1
#!/bin/bash
2
# collects run time for msimple with different numbers of threads
3
cp -v msimple.dat msimple.dat.save
4
rm -vf time.out
5
for T in 1 2 3  4 5 6 7 8 9 10 11 12 50
6
do
7
  echo 1000003 $T  > msimple.dat
8
  echo $T >> time.out
9
  /usr/bin/X11/time -ao time.out -f "%E " msimple -nohess
10
done
11
cp -v msimple.dat.save msimple.dat
12