]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - gw-tests/nop-highprio-time.sh
Link to pdf graphs for easier inclusion in the report (pdflatex)
[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     cat <<'EOF'
11 set title "Single GW job for all messages, no modifications, high (soft)irq task priority"
12 set logscale y
13 set grid xtics ytics mytics lw 1, lw 0.5
14 set key left
15 set xlabel "Time [s]"
16 set ylabel "Latency [ms]"
17 plot [:] [0.06:4] \
18           "len2-msgs.txt" using 2:(1000*$14) with points title "2 byte messages", \
19           "len4-msgs.txt" using 2:(1000*$14) with points title "4 byte messages", \
20           "len6-msgs.txt" using 2:(1000*$14) with points title "6 byte messages", \
21           "len8-msgs.txt" using 2:(1000*$14) with points title "8 byte messages"
22 EOF
23 }
24     
25 test_end
26