Mercurial > hg > Game > Cerium
annotate example/Miller_Rabin/time.sh @ 1876:5e17ab506299 draft
change CPU_TYPE SPE_ANY to IO/0 ( cannot running )
author | Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 30 Dec 2013 20:52:21 +0900 |
parents | 64e15fee0397 |
children |
rev | line source |
---|---|
1274
64e15fee0397
add shell script that measure time
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 #!/bin/zsh |
64e15fee0397
add shell script that measure time
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 |
64e15fee0397
add shell script that measure time
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 ./run.sh $* |& awk '{cpu[$2]+=$12; total[$2]++;} END {for(i in cpu){ ans=cpu[i]/total[i]; print "CPU" i "\t" ans }}' |
64e15fee0397
add shell script that measure time
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 |