]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
put load to graph title
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 10 Dec 2010 14:58:44 +0000 (15:58 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 10 Dec 2010 14:58:44 +0000 (15:58 +0100)
gw-tests/lib.sh

index d176f226b027feeb1e1d88ad08e43d504c87ce99..ae618fd6084f286cb1ff3b462fdaa5f3709c3904 100644 (file)
@@ -49,7 +49,7 @@ cleanupgw() {
 _plot() {
     local testname=`basename $0 .sh`
 
 _plot() {
     local testname=`basename $0 .sh`
 
-    plot_cmds | sed -e "/set title/ s/[\"']\(.*\)[\"']/\"\1\\\\n(GW kernel $kvers, traffic $traffic)\"/" > plot.gp
+    plot_cmds | sed -e "/set title/ s/[\"']\(.*\)[\"']/\"\1\\\\n(GW kernel $kvers, Traffic $traffic, Load $load)\"/" > plot.gp
     if [[ ! -s plot.gp ]]; then return; fi
     if [ -z "$OPT_NO_X11" ]; then
        echo "set terminal x11 enhanced; $(< plot.gp)" | gnuplot -persist
     if [[ ! -s plot.gp ]]; then return; fi
     if [ -z "$OPT_NO_X11" ]; then
        echo "set terminal x11 enhanced; $(< plot.gp)" | gnuplot -persist