]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - gw-tests/nop-highprio-time.sh
Generate detail of filter-sff
[can-benchmark.git] / gw-tests / nop-highprio-time.sh
1 #!/bin/bash
2
3 . lib.sh
4
5 main() {
6         ln -s ../nop-highprio/*.txt .
7 }
8
9 plot_cmds() {
10     min=$(head -n 1 len2-msgs.txt | awk '{ print $2 }')
11     cat <<EOF
12 set title "Single GW job for all messages, no modifications, high (soft)irq task priority"
13 set logscale y
14 set grid xtics ytics mytics lw 1, lw 0.5
15 set key left
16 set xlabel "Time [s]"
17 set ylabel "Latency [ms]"
18 plot [:] [0.06:4] \
19           "len2-msgs.txt" using (\$2-$min):(1000*\$14) with points title "2 byte messages", \
20           "len4-msgs.txt" using (\$2-$min):(1000*\$14) with points title "4 byte messages", \
21           "len6-msgs.txt" using (\$2-$min):(1000*\$14) with points title "6 byte messages", \
22           "len8-msgs.txt" using (\$2-$min):(1000*\$14) with points title "8 byte messages"
23 EOF
24 }
25     
26 test_end
27