]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - gw-tests/nop-highprio-time.sh
Put key to the left
[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 grid
13 set key left
14 set xlabel "Time [s]"
15 set ylabel "Latency [ms]"
16 plot [:] [:0.5] \
17           "len2-msgs.txt" using 2:(1000*$14) with points title "2 byte messages", \
18           "len4-msgs.txt" using 2:(1000*$14) with points title "4 byte messages", \
19           "len6-msgs.txt" using 2:(1000*$14) with points title "6 byte messages", \
20           "len8-msgs.txt" using 2:(1000*$14) with points title "8 byte messages"
21 EOF
22 }
23     
24 test_end
25