From: Michal Sojka Date: Fri, 10 Jan 2014 18:12:43 +0000 (+0100) Subject: Add a simple script for performing gateway benchmarks X-Git-Tag: fix-allnoconfig~102 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/commitdiff_plain/b746015013ae61f2ca7767fb69acfa83873cb44a Add a simple script for performing gateway benchmarks --- diff --git a/ugw/bench.sh b/ugw/bench.sh new file mode 100755 index 0000000..51bd48d --- /dev/null +++ b/ugw/bench.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +#./ppc/boot + +ssh glab "sudo latester -d can0 -d can1 -d can2 --oneattime -c 1000 -q -n ugw" +scp glab:ugw-hist.txt . + +gnuplot <<'EOF' +set title "Single GW rule for all messages, no modifications" +set grid xtics mxtics ytics mytics lw 1, lw 0.5 +set xlabel "GW latency [µs]" +set ylabel "Latency profile [frames]" +plot [:] [1:] \ + "ugw-hist.txt" using (1000*$1):2 with lp lt 1 title "UGW" +EOF