https://github.com/henrycg/earand
Raw File
Tip revision: 362625f3847ddd2e2d5a90cf5f93b4b3ea76e059 authored by Henry Corrigan-Gibbs on 21 May 2018, 19:54:59 UTC
Merge branch 'master' of github.com:henrycg/earand
Tip revision: 362625f
run.bash
#!/bin/bash
TIMEFORMAT='%3R'
SERVER='mbarara.stanford.edu'
#SERVER='bob.cs.yale.edu'
PORT=12346

echo "Running with $1 $2"
(./main $1 $2 $SERVER $PORT 0 0  2>&1 ) > /dev/null;
(./main $1 $2 $SERVER $PORT 0 0  2>&1 ) > /dev/null;
( for i in {1..8}
do 
( time ./main $1 $2 $SERVER $PORT 0 0  2>&1 | grep real )
done
) | while read one two; do echo $two; done

back to top