]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - ugw/data/plot-thr.gp
fixup
[can-benchmark.git] / ugw / data / plot-thr.gp
1 #!/usr/bin/env gnuplot
2 reset
3 set xlabel "Frame period [µs]"
4 set ylabel "Latency [µs] + packet loss"
5 set style data yerrorlines
6 # set yrange [0:10000]
7 set yrange [10:]
8 set logscale y
9 # set key left Left reverse
10 set grid
11 loss_scale=10
12 plot \
13      'kernel.dat' using 1:2:($3*loss_scale) title 'kernel', \
14      'mmapbusy-mmap.dat' using 1:2:($3*loss_scale) title 'mmapbusy-mmap', \
15      'mmapbusy-write.dat' using 1:2:($3*loss_scale) title 'mmapbusy-write', \
16      'mmap-mmap.dat' using 1:2:($3*loss_scale) title 'mmap-mmap', \
17      'mmap-write.dat' using 1:2:($3*loss_scale) title 'mmap-write', \
18      'readbusy-write.dat' using 1:2:($3*loss_scale) title 'readbusy-write', \
19      'readbusy-noirq.dat' using 1:2:($3*loss_scale) title 'readbusy-noirq', \
20      'readnb-write.dat' using 1:2:($3*loss_scale) title 'readnb-write', \
21      'read-write.dat' using 1:2:($3*loss_scale) title 'read-write'