From 28ade86b39912656f1cacd03cba0d84ec7a32b6c Mon Sep 17 00:00:00 2001 From: Rostislav Lisovy Date: Fri, 30 Sep 2011 12:42:38 +0200 Subject: [PATCH] Minor changes in scripts drawing charts. --- rules_count.sh | 2 +- samq_plot.txt | 10 +++++----- single_arch_multiple_qdiscs.sh | 1 + sqma_plot.txt | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/rules_count.sh b/rules_count.sh index 41d1d0f..be19b2f 100755 --- a/rules_count.sh +++ b/rules_count.sh @@ -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 diff --git a/samq_plot.txt b/samq_plot.txt index 2a50907..f0f66d5 100644 --- a/samq_plot.txt +++ b/samq_plot.txt @@ -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"; diff --git a/single_arch_multiple_qdiscs.sh b/single_arch_multiple_qdiscs.sh index 60718a6..4239ebf 100755 --- a/single_arch_multiple_qdiscs.sh +++ b/single_arch_multiple_qdiscs.sh @@ -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 diff --git a/sqma_plot.txt b/sqma_plot.txt index 4eba62f..2611b46 100644 --- a/sqma_plot.txt +++ b/sqma_plot.txt @@ -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 ] -- 2.39.2