]> rtime.felk.cvut.cz Git - lisovros/canprio_benchmark.git/blob - samq_plot.txt
Added simple scripts for creating charts out of measured data.
[lisovros/canprio_benchmark.git] / samq_plot.txt
1 set terminal postscript color eps enhanced size 15cm,7cm lw 1 "Times-Roman" 10
2 set log y
3 set xrange [ 1 : 5000 ]
4 #set yrange [ 0.25 : 1000 ]
5 set xlabel "N-th sample"
6 set ylabel "Time spent in can\\_send() function[us]"
7
8 set style data lines
9 set style line 1 linetype 1 linecolor rgb "black"    linewidth 1 pointtype 1 
10 set style line 2 linetype 1 linecolor rgb "yellow"   linewidth 1 pointtype 1
11 set style line 3 linetype 1 linecolor rgb "blue"     linewidth 1 pointtype 1
12 set style line 4 linetype 1 linecolor rgb "red"      linewidth 1 pointtype 1
13 set style line 5 linetype 1 linecolor rgb "green"    linewidth 1 pointtype 1
14 set style line 6 linetype 1 linecolor rgb "cyan"     linewidth 1 pointtype 1
15 set style line 7 linetype 1 linecolor rgb "cyan"     linewidth 1 pointtype 1
16
17
18 #set style data points
19 #set style data dots
20 #set pointsize 1
21 plot \
22         "ftrace_sff_pfifo1_plot.dat" ls 1 title "Default pfifo qdisc; fixed CAN ID", \
23         "ftrace_sff_pfifo2_plot.dat" ls 2 title "Default pfifo qdisc; incrementing CAN ID", \
24         "ftrace_sff_prio1_plot.dat"  ls 3 title "Prio qdisc; every frame is classified into the first class", \
25         "ftrace_sff_prio1b_plot.dat" ls 4 title "Prio qdisc; most of the traffic goes into default (last) class", \
26         "ftrace_sff_prio2_plot.dat"  ls 5 title "Prio qdisc; 5 classes, each has filter with 128 rules", \
27         "ftrace_sff_htb1_plot.dat"   ls 6 title "Simple HTB qdisc; fixed CAN ID", \
28         "ftrace_sff_htb2_plot.dat"   ls 7 title "Simple HTB qdisc; incrementing CAN ID"
29