Created
November 20, 2015 06:39
-
-
Save frrist/39960e448a9406bab5e2 to your computer and use it in GitHub Desktop.
tester thing for testing things
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function run_thing() { | |
num=$1 | |
procs=$2 | |
./run $num $procs | |
} | |
function run_trials() { | |
itt=6 | |
nproc=1 | |
n=33554432 | |
for i in `seq $itt` | |
do | |
run_thing $n $nproc | |
n=`expr $n \* 2` | |
nproc=`expr $nproc \* 2` | |
done | |
} | |
run_trials |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment