Skip to content

Instantly share code, notes, and snippets.

@Pacifist117
Created April 25, 2014 21:38
Show Gist options
  • Save Pacifist117/11304232 to your computer and use it in GitHub Desktop.
Save Pacifist117/11304232 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ ${1} -z ]
then
echo "usage: sudo ./run_test.sh <kairos, vanilla, or nitro>"
exit 1
fi
modprobe edf;
rm temp_overheads.results
#./sched_test_app -s GEDF -f ../Task\ Sets/12t_nl_g -c 100 -r 10
for u in 50 100 #25 50 75 100 125 #50 100
do
for i in {1..6}
do
./sched_test_app -s EDF -f ../Task\ Sets/27t_nl -r 120 -c ${u} >> dsr_results/dsr_${1}_${u}
#./sched_test_app -s EDF -f ../BMU/bmu_${u}_0 -c ${u} -r 5 >> dsr_results/dsr_${1}_${u}
done
mv temp_overheads.results results/${1}_${u}_overheads.results
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment