diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-03-25 22:42:57 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-03-25 22:42:57 -0400 |
commit | a048bb28a4f1377e81cecdefc3f9fb64f4bab7ed (patch) | |
tree | e6ec33cb4b3dc2886ea55aa1090dcf49be0dcd84 /compact_multiple.sh | |
parent | 7ef10f46daa5fa91469d0643bce891255444078d (diff) |
Compact multiple WSS (for multiple pm types) at once
- Some restructuring in plot_pm and compact_pm_ovd
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 | ||