error_model.gp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/usr/bin/gnuplot -persist
  2. # StarPU --- Runtime system for heterogeneous multicore architectures.
  3. #
  4. # Copyright (C) 2009 Université de Bordeaux 1
  5. # Copyright (C) 2010 Centre National de la Recherche Scientifique
  6. #
  7. # StarPU is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU Lesser General Public License as published by
  9. # the Free Software Foundation; either version 2.1 of the License, or (at
  10. # your option) any later version.
  11. #
  12. # StarPU is distributed in the hope that it will be useful, but
  13. # WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. #
  16. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  17. set term postscript eps enhanced color
  18. set output "model_error.eps"
  19. set yrange [0.05:100]
  20. set xrange [4:10000]
  21. set grid y
  22. set grid x
  23. set logscale y
  24. set logscale x
  25. #set title "Cholesky on Cell (PS3)"
  26. set xlabel "Number of samples"
  27. set ylabel "Prediction error"
  28. set grid
  29. set ytics (0.01, 0.1, 1, 5,10,25,50,100)
  30. set xtics (10, 100, 1000, 10000)
  31. set format y "%.1f %%"
  32. set format x "10^{%L}"
  33. set key title "Execution time Prediction Error (%)"
  34. set size 0.75
  35. plot "gnuplot.data" usi 1:($2*100) with linespoint pt -1 lt 1 lw 3 title "CPUs" ,\
  36. "gnuplot.data" usi 3:($4*100) with linespoint pt -1 lt 2 lw 3 title "GPU"