
* Move the project top-level CMakeLists.txt to the root of the project; this allows building Cyclone as part of ROS2 without any special tricks; * Clean up the build options: ENABLE_SSL: whether to check for and include OpenSSL support if a library can be found (default = ON); this used to be called DDSC_ENABLE_OPENSSL, the old name is deprecated but still works BUILD_DOCS: whether to build docs (default = OFF) BUILD_TESTING: whether to build test (default = OFF) * Collect all documentation into top-level "docs" directory; * Move the examples to the top-level directory; * Remove the unused and somewhat misleading pseudo-default cyclonedds.xml; * Remove unused cmake files Signed-off-by: Erik Boasson <eb@ilities.com>
14 lines
444 B
Bash
Executable file
14 lines
444 B
Bash
Executable file
#!/bin/bash
|
|
|
|
`dirname $0`/throughput-test-extract > data.txt
|
|
gnuplot <<\EOF
|
|
set term png size 1024,768
|
|
set output "throughput-polling.png"
|
|
set st d l
|
|
set title "Throughput (polling with 1ms sleeps)"
|
|
set ylabel "M sample/s"
|
|
set y2label "Mbps"
|
|
set y2tics
|
|
set xlabel "payload size [bytes]"
|
|
p "data.txt" i 5 u 1:($2/1e6) ti "rate [M sample/s]", "" i 5 u 1:3 axes x1y2 ti "app bandwidth [Mbps]", "" i 5 u 1:4 axes x1y2 ti "GbE bandwidth [Mbps]"
|
|
EOF
|