]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Show traffic type in the graph
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 9 Dec 2010 16:40:27 +0000 (17:40 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 9 Dec 2010 16:40:27 +0000 (17:40 +0100)
gw-tests/lib.sh

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