gdunlap/sched-sim.hg

view run.sh @ 9:0ec40a1605a3

Some updates (and hard-code changes, deal with it)
author George Dunlap <gdunlap@xensource.com>
date Tue Oct 20 18:01:15 2009 +0100 (2009-10-20)
parents 403bd7680df6
children
line source
1 #!/bin/bash
2 sched=credit01
3 workload=N2s2
4 file_base=${sched}.${workload}
5 ./simulator --scheduler=${sched} --workload=${workload} > /tmp/${file_base}.all
6 for C in credit runtime; do
7 for I in 0 1 2 3 4 ; do
8 grep -a "^$C v$I" /tmp/${file_base}.all | awk '{print $3 " " $4;}' > /tmp/${file_base}.$C.$I.csv
9 done
10 ygraph -c /tmp/${file_base}.$C.*.csv &
11 done
12 tail -25 /tmp/$file_base.all