X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/b6a48d7f59692de4091ddd8447a6642f9008a271..4c676bfe792052ff8c5f8e1e61f9bfb6248d9527:/gw-tests/nop-highprio-time.sh diff --git a/gw-tests/nop-highprio-time.sh b/gw-tests/nop-highprio-time.sh index f3cca21..b8c00fe 100755 --- a/gw-tests/nop-highprio-time.sh +++ b/gw-tests/nop-highprio-time.sh @@ -3,20 +3,23 @@ . lib.sh main() { - : + ln -s ../nop-highprio/*.txt . } plot_cmds() { - cat <<'EOF' -set title "Single GW job for all messages, no modifications, high (soft)irq task priority" -set grid -set xlabel "Time [s]" -set ylabel "Latency [{/Symbol m}s]" -plot [:] [:500] \ - "../nop-highprio/time2.dat" using 2:(1000000*$14) with points title "2 byte messages", \ - "../nop-highprio/time4.dat" using 2:(1000000*$14) with points title "4 byte messages", \ - "../nop-highprio/time6.dat" using 2:(1000000*$14) with points title "6 byte messages", \ - "../nop-highprio/time8.dat" using 2:(1000000*$14) with points title "8 byte messages" + min=$(head -n 1 len2-msgs.txt | awk '{ print $2 }') + cat <