From a048bb28a4f1377e81cecdefc3f9fb64f4bab7ed Mon Sep 17 00:00:00 2001 From: Andrea Bastoni Date: Thu, 25 Mar 2010 22:42:57 -0400 Subject: Compact multiple WSS (for multiple pm types) at once - Some restructuring in plot_pm and compact_pm_ovd --- compact_multiple.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 compact_multiple.sh (limited to 'compact_multiple.sh') 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 @@ +#!/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 -- cgit v1.2.2