fi
min=$(head -n 1 id-0-msgs.txt | awk '{ print $2 }')
cat <<EOF
-set title "2048 GW jobs (one per id, mask 0x7FF), no modifications"
+set title "2048 GW rules (one per id, mask 0x7FF), no modifications"
set grid xtics ytics mytics lw 1, lw 0.5
set xlabel "Time [s]"
set ylabel "Latency [ms]"
echo "set logscale xy"
fi
cat <<EOF
-set title "2048 GW jobs (one per id, mask 0x7FF), no modifications"
+set title "2048 GW rules (one per id, mask 0x7FF), no modifications"
set grid xtics mxtics ytics mytics lw 1, lw 0.5
set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
plot_cmds() {
cat <<EOF
-set title "Single GW job for all messages, no modifications, high (soft)irq task priority"
+set title "Single GW rule for all messages, no modifications, high (soft)irq task priority"
set logscale xy
set grid xtics mxtics ytics mytics lw 1, lw 0.5
set xlabel "Time [ms]"
fi
min=$(head -n 1 len2-msgs.txt | awk '{ print $2 }')
cat <<EOF
-set title "Single GW job for all messages, no modifications"
+set title "Single GW rule for all messages, no modifications"
set grid xtics ytics mytics lw 1, lw 0.5
set key left
set xlabel "Time [s]"