}
System.out.println("Finished to createObjects");
+ long st = System.currentTimeMillis();
+ long fi;
+
Work tmp;
for (i = 0; i < NUM_THREADS; i++) {
atomic {
}
tmp.join();
}
-
+ fi = System.currentTimeMillis();
+
+ System.out.println("Time Elapse = " + (double)((fi-st)/1000));
System.printString("Finished\n");
}
}
while [ $k -gt 1 ]; do
echo "SSH into dc-${k}"
- echo "ssh dc-${k} 'cd' $DIR'; ./$BM_NAME.bin'"
ssh dc-${k} 'cd '$DIR'; ./'$BM_NAME'.bin' &
k=`expr $k - 1`
done
echo "Running master machine ... "
- echo "ssh dc-1 'cd '$DIR'; ./$BM_NAME.bin master $NUM_MACHINE $BM_ARGS"
ssh dc-1 'cd '$DIR'; ./'$BM_NAME'.bin master '$NUM_MACHINE $BM_ARGS
sleep 1 ;