From bbca3b6de9fd7a8529d4886f8cac32b502f674a4 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 1 Dec 2010 14:39:56 +0100 Subject: [PATCH] Plot latencies over time --- gw-tests/nop-time.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 gw-tests/nop-time.sh 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 + -- 2.39.2