summaryrefslogtreecommitdiffstats
path: root/baseline/run_baseline.sh
diff options
context:
space:
mode:
Diffstat (limited to 'baseline/run_baseline.sh')
-rwxr-xr-xbaseline/run_baseline.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/baseline/run_baseline.sh b/baseline/run_baseline.sh
index 7fdc2aa..f7a98fa 100755
--- a/baseline/run_baseline.sh
+++ b/baseline/run_baseline.sh
@@ -49,7 +49,12 @@ done < $tacleNames
49num_tests=$(wc -l < $tacleNames) 49num_tests=$(wc -l < $tacleNames)
50for (( i = 0; i < $num_tests ; i++ )) 50for (( i = 0; i < $num_tests ; i++ ))
51do 51do
52 chrt -r 97 taskset -c $core ./bin/${tacleProg[$i]} ${tacleProg[$i]} $maxJobs $core none none $runID 1 none 52 # Check if we're using LITMUS^RT or not
53 if grep -q "#define LITMUS 1" source/extra.h; then
54 ./bin/${tacleProg[$i]} ${tacleProg[$i]} $maxJobs $core $runID 1
55 else
56 chrt -r 97 taskset -c $core ./bin/${tacleProg[$i]} ${tacleProg[$i]} $maxJobs $core $runID 1
57 fi
53 echo COMPLETE: ${tacleProg[$i]} 58 echo COMPLETE: ${tacleProg[$i]}
54done 59done
55 60