From: Michal Sojka Date: Wed, 1 Dec 2010 13:39:56 +0000 (+0100) Subject: Plot latencies over time X-Git-Tag: fix-allnoconfig~285 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/bbca3b6de9fd7a8529d4886f8cac32b502f674a4 Plot latencies over time --- diff --git a/gw-tests/nop-time.sh b/gw-tests/nop-time.sh new file mode 100755 index 0000000..552f3f0 --- /dev/null +++ b/gw-tests/nop-time.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +. lib.sh + +main() { + : +} + +plot_cmds() { + cat <<'EOF' +set title "Single GW, no modifications, no filters" +set grid +set xlabel "Time [s]" +set ylabel "Latency [{/Symbol m}s]" +plot [:] [:500] \ + "../nop/time2.dat" using 2:(1000000*$14) with points title "2 byte messages", \ + "../nop/time4.dat" using 2:(1000000*$14) with points title "4 byte messages", \ + "../nop/time6.dat" using 2:(1000000*$14) with points title "6 byte messages", \ + "../nop/time8.dat" using 2:(1000000*$14) with points title "8 byte messages" +EOF +} + +test_end +