gnuplot_gflopsrate.sh 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!/bin/bash
  2. # StarPU --- Runtime system for heterogeneous multicore architectures.
  3. #
  4. # Copyright (C) 2011 INRIA
  5. #
  6. # StarPU is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU Lesser General Public License as published by
  8. # the Free Software Foundation; either version 2.1 of the License, or (at
  9. # your option) any later version.
  10. #
  11. # StarPU is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. filename=$1
  17. gnuplot > /dev/null << EOF
  18. set terminal postscript
  19. set output "| ps2pdf - $filename.pdf"
  20. set datafile missing 'x'
  21. set pointsize 0.75
  22. set title "Taux du debit per core normalise"
  23. set grid y
  24. set grid x
  25. set xrange [20:86]
  26. set yrange [0.6:1.5]
  27. #set logscale x
  28. 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)
  29. set key invert box right
  30. #set size 0.1
  31. set xlabel "Nombre de cpus dans le premier contexte / Nombre de cpus dans le deuxieme contexte"
  32. set ylabel "Efficacite per core"
  33. plot "res_isole" using 1:5 title 'Gflop rate per core' with lines lt rgb "blue" lw 2
  34. EOF