]> rtime.felk.cvut.cz Git - frescor/demo.git/commitdiff
Added script to plot resuls
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 30 Nov 2009 10:53:05 +0000 (11:53 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 30 Nov 2009 10:53:05 +0000 (11:53 +0100)
results/casestudy.gp [new file with mode: 0644]

diff --git a/results/casestudy.gp b/results/casestudy.gp
new file mode 100644 (file)
index 0000000..2ea305b
--- /dev/null
@@ -0,0 +1,47 @@
+set multiplot layout 2, 4
+set xlabel ' '
+set xtics 1
+set xrange [0.5:3.5]
+set yrange [10:37]
+set ylabel "Frames per second"
+set title "No load"
+plot \
+     'frsh.dat'                  using ($1+0.8):2:(0.3) with boxes fs solid 1   title "With FRSH", \
+     'no-frsh.dat'               using ($1+1.2):2:(0.3) with boxes fs pattern 1 title "Without FRSH"
+unset ylabel
+set xlabel "Number of video streams"
+set title "Wi-Fi loaded"
+plot \
+     'frsh-ping.dat'             using ($1+0.8):2:(0.3) with boxes fs solid 1   title "With FRSH" , \
+     'no-frsh-ping.dat'          using ($1+1.2):2:(0.3) with boxes fs pattern 1 title "Without FRSH"
+set xlabel ' '
+set title "CPU loaded"
+plot \
+     'frsh-hackbench.dat'        using ($1+0.8):2:(0.3) with boxes fs solid 1   title "With FRSH", \
+     'no-frsh-hackbench.dat'      using ($1+1.2):2:(0.3) with boxes fs pattern 1 title "Without FRSH"
+set title "Wi-Fi & CPU loaded"
+plot \
+     'frsh-hackbench-ping.dat'           using ($1+0.8):2:(0.3) with boxes fs solid 1   title "With FRSH", \
+     'no-frsh-ping-hackbench.dat' using ($1+1.2):2:(0.3) with boxes fs pattern 1 title "Without FRSH"
+
+set yrange [0:*]
+set ylabel "Standard deviation of\nframe processing time [s]"
+set title "No load"
+plot \
+     'frsh.dat'                  using ($1+0.8):3:(0.3) with boxes fs solid 1   title "With FRSH", \
+     'no-frsh.dat'               using ($1+1.2):3:(0.3) with boxes fs pattern 1 title "Without FRSH"
+unset ylabel
+set xlabel "Number of video streams"
+set title "Wi-Fi loaded"
+plot \
+     'frsh-ping.dat'             using ($1+0.8):3:(0.3) with boxes fs solid 1   title "With FRSH" , \
+     'no-frsh-ping.dat'          using ($1+1.2):3:(0.3) with boxes fs pattern 1 title "Without FRSH"
+set xlabel ' '
+set title "CPU loaded"
+plot \
+     'frsh-hackbench.dat'        using ($1+0.8):3:(0.3) with boxes fs solid 1   title "With FRSH", \
+     'no-frsh-hackbench.dat'      using ($1+1.2):3:(0.3) with boxes fs pattern 1 title "Without FRSH"
+set title "Wi-Fi & CPU loaded"
+plot \
+     'frsh-hackbench-ping.dat'           using ($1+0.8):3:(0.3) with boxes fs solid 1   title "With FRSH", \
+     'no-frsh-ping-hackbench.dat' using ($1+1.2):3:(0.3) with boxes fs pattern 1 title "Without FRSH"