gnuplot_gflopsrate.sh 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/bin/bash
  2. # StarPU --- Runtime system for heterogeneous multicore architectures.
  3. #
  4. # Copyright (C) 2011 Inria
  5. # Copyright (C) 2012,2017 CNRS
  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. #
  18. filename=$1
  19. gnuplot > /dev/null << EOF
  20. set terminal postscript
  21. set output "| ps2pdf - $filename.pdf"
  22. set datafile missing 'x'
  23. set pointsize 0.75
  24. set title "Taux du debit per core normalise"
  25. set grid y
  26. set grid x
  27. set xrange [20:86]
  28. set yrange [0.6:1.5]
  29. #set logscale x
  30. set xtics ("20/76" 20,"30/66" 30,"40/56" 40, "50/46" 50, "60/36" 60, "70/26" 70, "80/16" 80, "86/10" 86)
  31. set key invert box right
  32. #set size 0.1
  33. set xlabel "Nombre de cpus dans le premier contexte / Nombre de cpus dans le deuxieme contexte"
  34. set ylabel "Efficacite per core"
  35. plot "res_isole" using 1:5 title 'Gflop rate per core' with lines lt rgb "blue" lw 2
  36. EOF