]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/lib.sh
lib: Add echo_plot() to make plotting of multiple graphs easier
[can-benchmark.git] / gw-tests / lib.sh
index 439ddc7ed6a50674a6049c882af63f419fb1a001..cacde470a1f440d1df93b0078f7720938384c8d3 100644 (file)
@@ -65,6 +65,13 @@ create_dirs_and_links() {
     echo $d
 }
 
+echo_plot() {
+    plot=$1
+    [[ "$_plot_separator" ]] && echo ", \\"
+    _plot_separator=t
+    echo -n "    " $plot
+}
+
 _run() {
     if [[ ! "$OPT_PLOT_ONLY" ]]; then
        kernel_versions=$(sshgw uname -r)