Mercurial > hg > Game > Cerium
annotate example/Miller_Rabin/time.sh @ 1715:996d216c837a draft
merge
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Oct 2013 18:39:46 +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 |