_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
echo $opts -l $1
}
+start_load() {
+}
+
+kill_load() {
+}
+
_measure() {
# Remove data from the last measurement
rm -rf *
# Set the length of qdisc queue to avoid ENOBUFS errors
ifconfig can0 txqueuelen 200
cleanupgw
-
+
+ prepare
+ start_load
main
+ kill_load
}