diff options
Diffstat (limited to 'compact_multiple.sh')
| -rwxr-xr-x | compact_multiple.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/compact_multiple.sh b/compact_multiple.sh new file mode 100755 index 0000000..be48698 --- /dev/null +++ b/compact_multiple.sh | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | |||
| 3 | if [ $# -lt 2 ]; then | ||
| 4 | echo "directory _sorted_WSS(es)" | ||
| 5 | exit -1 | ||
| 6 | fi | ||
| 7 | |||
| 8 | for OH in preemption l2cache offchip onchip; | ||
| 9 | do | ||
| 10 | FILES="" | ||
| 11 | COUNT=1 | ||
| 12 | for i ; | ||
| 13 | do | ||
| 14 | if [ $COUNT == "1" ]; then | ||
| 15 | COUNT=$((COUNT + 1)) | ||
| 16 | continue | ||
| 17 | fi | ||
| 18 | FILES="$FILES $1/pm_plugin=GSN-EDF_dist=uni_light_wss=${i}_ovd=${OH}.csv" | ||
| 19 | done | ||
| 20 | ./compact_pm_ovd.py $FILES | ||
| 21 | done | ||
