aboutsummaryrefslogtreecommitdiffstats
path: root/compact_multiple.sh
blob: be486983b909da79151e3437d3dbd37ebd24ca9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

if [ $# -lt 2 ]; then
	echo "directory _sorted_WSS(es)"
	exit -1
fi

for OH in preemption l2cache offchip onchip;
do
	FILES=""
	COUNT=1
	for i ;
	do
		if [ $COUNT == "1" ]; then
			COUNT=$((COUNT + 1))
			continue
		fi
		FILES="$FILES $1/pm_plugin=GSN-EDF_dist=uni_light_wss=${i}_ovd=${OH}.csv"
	done
	./compact_pm_ovd.py $FILES
done