]> rtime.felk.cvut.cz Git - lisovros/canprio_benchmark.git/blob - single_qdisc_multiple_archs.sh
Added benchmarks performed on P4 on vcan device.
[lisovros/canprio_benchmark.git] / single_qdisc_multiple_archs.sh
1 #!/bin/bash
2 DIRS=(test1 test2 test3 test4 test5)
3 TESTS=( $(ls test1/sff_array/) )
4
5 if [ ! -d "sqma" ]; then
6         mkdir "sqma"
7 fi
8
9 for A in "sff_array" "sff_bitmap"
10 do
11         for X in ${TESTS[@]:0}
12         do
13                 for Y in ${DIRS[@]:0}
14                 do 
15                         cat "${Y}/${A}/${X}" | \
16                                 tail -n +5 | cut -c 7- | cut -d" " -f 1 | \
17                                 cat -n > ${Y}_plot.dat
18                 done
19
20                 echo -n "."
21                 gnuplot < sqma_plot.txt > sqma/plot_${A}_${X}.eps
22                 epstopdf sqma/plot_${A}_${X}.eps
23         done
24 done
25
26 rm *_plot.dat
27 echo
28 exit 0;