diff --git a/README.md b/README.md index a4f9ac0..33ae4eb 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ -# tarot \ No newline at end of file +# tarot +Sam Pratico diff --git a/avgCompTime.sh b/avgCompTime.sh new file mode 100644 index 0000000..54a2755 --- /dev/null +++ b/avgCompTime.sh @@ -0,0 +1,10 @@ +#!/bin/bash +#echo Enter the command you would like to run +#read COMMAND + +echo "Average Computational Time:" + +for i in {1..5} + do + LD_LIBRARY_PATH="./" /usr/bin/time ./oplrun tarot/Tarot.mod tarot/Tarot.dat 2>&1 | grep -o '[0-9]\+maxresident' | sed s/maxresident// + done