view example/Miller_Rabin/run.sh @ 1277:4ba9b622073d draft

merge
author Yutaka_Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Nov 2011 19:40:47 +0900
parents 08d81be1c6e4
children
line wrap: on
line source

#!/bin/zsh

a=1
while [ $a -le 24 ]
do
	b=0
	while [ $b -le 5 ]
	do
		echo -n "CPU_NUM $a "
		(time $* -cpu $a) 1>/dev/null
		b=`expr $b + 1`
	done
	a=`expr $a + 1`
done