X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/947cd64bf4e7634ed6f3a824d5be166c09986dc1..89805c403e4a1100441b41166840d22f2eb4ec9e:/ugw/data/plot-thr.gp diff --git a/ugw/data/plot-thr.gp b/ugw/data/plot-thr.gp index b3a4bd4..a157c16 100755 --- a/ugw/data/plot-thr.gp +++ b/ugw/data/plot-thr.gp @@ -1,4 +1,7 @@ #!/usr/bin/env gnuplot + +! ./throughput-dep.sh + reset set xlabel "Frame period [µs]" set ylabel "Latency [µs] + packet loss" @@ -9,7 +12,7 @@ set ytics (1e1,2e1,5e1,1e2,2e2,5e2,1e3,2e3,5e3,1e4,2e4,5e4,1e5,2e5,5e5) set logscale y set key reverse Left invert outside set grid -loss_scale=10 +loss_scale=3 plot [:160] \ 'kernel.dat' using 1:2:($3*loss_scale) title 'kernel', \ 'mmap-mmap.dat' using 1:2:($3*loss_scale) title 'mmap-mmap', \ @@ -18,7 +21,7 @@ plot [:160] \ 'mmapbusy-write.dat' using 1:2:($3*loss_scale) title 'mmapbusy-write', \ 'readnb-mmap.dat' using 1:2:($3*loss_scale) title 'readnb-mmap', \ 'read-mmap.dat' using 1:2:($3*loss_scale) title 'read-mmap', \ - 'readbusy-noirq.dat' using 1:2:($3*loss_scale) title 'readbusy-noirq', \ + 'readbusynoirq-write.dat' using 1:2:($3*loss_scale) title 'readbusynoirq-write', \ 'read-write.dat' using 1:2:($3*loss_scale) title 'read-write', \ 'readbusy-write.dat' using 1:2:($3*loss_scale) title 'readbusy-write', \ 'readnb-write.dat' using 1:2:($3*loss_scale) title 'readnb-write'