]> rtime.felk.cvut.cz Git - lisovros/canprio_benchmark.git/commitdiff
Minor changes in scripts drawing charts.
authorRostislav Lisovy <lisovy@gmail.com>
Fri, 30 Sep 2011 10:42:38 +0000 (12:42 +0200)
committerRostislav Lisovy <lisovy@gmail.com>
Fri, 30 Sep 2011 10:42:38 +0000 (12:42 +0200)
rules_count.sh
samq_plot.txt
single_arch_multiple_qdiscs.sh
sqma_plot.txt

index 41d1d0fb8f15656d11268927a221279ec78e822b..be19b2f84695e205ef8b0aee3ffbcdbcee3eb1a3 100755 (executable)
@@ -3,7 +3,7 @@
 rm rules_count.dat
 
 for X in $(seq 1 380); do
-       cat "test_rules_count/sff_array/ftrace_${X}rules.txt" | \
+       cat "test_rules_count/ppc_mpc5200/sff_array/ftrace_${X}rules.txt" | \
                tail -n +5 | cut -c 7- | cut -d" " -f 1 \
                > rules_count_tmp.txt
 
index 2a5090737758c40d08f91b98f1ff5256349c3e1e..f0f66d5e92b96560f7d1ac0f7d6e163e051d5222 100644 (file)
@@ -1,4 +1,4 @@
-set terminal postscript color eps enhanced size 15cm,7cm lw 1 "Times-Roman" 10
+set terminal postscript color eps enhanced size 8cm,4cm lw 1 "Times-Roman" 10
 #set log y
 #set xrange [ 1 : 5000 ]
 #set yrange [ 0.25 : 1000 ]
@@ -7,7 +7,7 @@ set style histogram cluster gap 1
 set style fill solid border -1
 set boxwidth 0.9
 
-set xlabel "N-th sample"
+set xlabel "Different configurations of qdiscs and cangen"
 set ylabel "Time spent in can\\_send() function [us]"
 
 set style line 1 linetype 1 linecolor rgb "black"    linewidth 1 pointtype 1 
@@ -23,6 +23,6 @@ set style histogram clustered
 plot \
        "test2_plot.dat" using 2:xticlabels(1) ls 1 title "P4 PC; g = 0", \
        "test1_plot.dat" using 2:xticlabels(1) ls 2 title "P4 PC; g = 1", \
-       "test3_plot.dat" using 2:xticlabels(1) ls 3 title "PPC; g = 0", \
-       "test4_plot.dat" using 2:xticlabels(1) ls 4 title "PPC; g = 1", \
-       "test5_plot.dat" using 2:xticlabels(1) ls 5 title "PPC; g = 2";
+       "test3_plot.dat" using 2:xticlabels(1) ls 3 title "MPC5200 PPC; g = 0", \
+       "test4_plot.dat" using 2:xticlabels(1) ls 4 title "MPC5200 PPC; g = 1", \
+       "test5_plot.dat" using 2:xticlabels(1) ls 5 title "MPC5200 PPC; g = 2";
index 60718a6ee140a9b04c177103b0449b81613f1adc..4239ebf3e4145f14bc4b99ff4089c1cedf72a246 100755 (executable)
@@ -30,6 +30,7 @@ do
                done
 
                echo -n "."
+       #cp "${X}_plot.dat" samq/"${X}_plot.dat"
        done
 
        gnuplot < samq_plot.txt > samq/plot_${A}.eps
index 4eba62f3c32a163b983a34707e8c90b6a8dd4d27..2611b46469ed972411bf8c068de8f6d071e07b9e 100644 (file)
@@ -1,4 +1,4 @@
-set terminal postscript color eps enhanced size 15cm,7cm lw 1 "Times-Roman" 10
+set terminal postscript color eps enhanced size 8cm,4cm lw 1 "Times-Roman" 10
 set log y
 set xrange [ 1 : 5000 ]
 #set yrange [ 0.25 : 1000 ]