diff options
Diffstat (limited to 'baseline/run_baseline.sh')
-rwxr-xr-x | baseline/run_baseline.sh | 7 |
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 | |||
49 | num_tests=$(wc -l < $tacleNames) | 49 | num_tests=$(wc -l < $tacleNames) |
50 | for (( i = 0; i < $num_tests ; i++ )) | 50 | for (( i = 0; i < $num_tests ; i++ )) |
51 | do | 51 | do |
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]} |
54 | done | 59 | done |
55 | 60 | ||