diff options
author | Björn B. Brandenburg <bbb@cs.unc.edu> | 2010-03-26 09:48:09 -0400 |
---|---|---|
committer | Björn B. Brandenburg <bbb@cs.unc.edu> | 2010-03-26 09:48:09 -0400 |
commit | 0c6cb5129ccce032fcc5aea0859b46129c180c5c (patch) | |
tree | af209855c288a11e064ef2e83cd6d08efd7eaf8f /compact_multiple.sh | |
parent | 174498f1daa9ccd46323c63b030175e4646afcd9 (diff) | |
parent | a048bb28a4f1377e81cecdefc3f9fb64f4bab7ed (diff) |
Merge branch 'master' of cvs.cs.unc.edu:/cvs/proj/litmus/repo/simple-gnuplot-wrapper
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 | ||