]> rtime.felk.cvut.cz Git - lisovros/canprio_benchmark.git/blob - rules_count.sh
Added script for counting mean time spent in can_send() depending on count of filter...
[lisovros/canprio_benchmark.git] / rules_count.sh
1 #!/bin/bash
2
3 rm rules_count.dat
4
5 for X in $(seq 1 380); do
6         cat "test_rules_count/sff_array/ftrace_${X}rules.txt" | \
7                 tail -n +5 | cut -c 7- | cut -d" " -f 1 \
8                 > rules_count_tmp.txt
9
10         ./statistics.oct "rules_count_tmp.txt" >> "rules_count.dat"
11         echo ${X}
12 done