plot 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. reset
  2. set terminal postscript enhanced colour portrait size 6,6
  3. set key top left
  4. set style line 1 lw 4 linecolor rgb "red" dashtype 1
  5. set style line 2 lw 4 linecolor rgb "green" dashtype 1
  6. set style line 3 lw 4 linecolor rgb "blue" dashtype 2
  7. set style line 4 lw 4 linecolor rgb "black" dashtype 3
  8. set out 'result_1a.eps'
  9. set title "Influence of transition time for copy state saving"
  10. set xlabel "Transition time (s)"
  11. set ylabel "Execution time (s)"
  12. plot 'result_1a' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3
  13. set out 'result_1b.eps'
  14. set yrange [0:0.5]
  15. set title "Influence of transition time for periodic state saving"
  16. set xlabel "Transition time (s)"
  17. set ylabel "Execution time (s)"
  18. plot 'result_1b' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3
  19. unset yrange
  20. set out 'result_2b.eps'
  21. set title "Influence of number of models on memory"
  22. set xlabel "Number of models"
  23. set ylabel "Main memory used (KB)"
  24. plot 'result_2b' using 1:($2/1024) title "copy" w l ls 1, '' using 1:($3/1024) title "Periodic" w l ls 2
  25. set out 'result_3.eps'
  26. set title "Influence of state size on memory"
  27. set xlabel "Model state (B)"
  28. set ylabel "Main memory usage (KB)"
  29. plot 'result_3' using 1:($2/1024) title "copy" w l ls 1, '' using 1:($3/1024) title "Periodic" w l ls 2
  30. set out 'result_4.eps'
  31. set title "Jumping to specific points in time"
  32. set key top right
  33. set xlabel "Jump destination time"
  34. set ylabel "Latency (s)"
  35. plot 'result_4a' w l ls 1 title 'copy', 'result_4b' w l ls 2 title 'periodic'
  36. set key top left
  37. set out 'result_5a.eps'
  38. set title "Memory use during simulation for copy state saving"
  39. set xlabel "Simulation time"
  40. set ylabel "Main memory usage (KB)"
  41. plot 'result_5a' using 1:($2/1024) w l ls 1 title 'Main memory consumption', '' using 1:($3/1024) w l ls 2 title 'Disk consumption'
  42. set out 'result_5b.eps'
  43. set title "Memory use during simulation for periodic state saving"
  44. set xlabel "Simulation time"
  45. set ylabel "Main memory usage (KB)"
  46. plot 'result_5b' using 1:($2/1024) w l ls 1 title 'Main memory consumption', '' using 1:($3/1024) w l ls 2 title 'Disk consumption'
  47. set out 'result_9.eps'
  48. set title "Jump time comparison"
  49. set xlabel "Number of models"
  50. set ylabel "Execution time (s)"
  51. plot 'result_9' using 1:($2) title "copy" w l ls 1, '' using 1:($3) title "periodic" w l ls 2
  52. set out 'result_10.eps'
  53. set title "Influence of omniscient debugging"
  54. set xlabel "Model state (B)"
  55. set ylabel "Simulation execution time (s)"
  56. set logscale y
  57. plot 'result_10' using 1:($2) title "copy state saving" w l ls 1, '' using 1:($3) title "periodic state saving 0.1s" w l ls 2, '' using 1:($4) title "periodic state saving 0.5s" w l ls 3, '' using 1:($5) title "no omniscient debugging" w l ls 4
  58. set out 'result_10_mini.eps'
  59. set title "Influence of omniscient debugging"
  60. set xlabel "Model state (B)"
  61. set ylabel "Simulation execution time (s)"
  62. unset logscale
  63. plot 'result_10' using 1:($2) title "With omniscient debugging" w l ls 1, '' using 1:($5) title "Without omniscient debugging" w l ls 2
  64. # Optional things
  65. #set out 'result_2a.eps'
  66. #set title "Influence of number of models for copy state saving"
  67. #set xlabel "Number of models"
  68. #set ylabel "Execution time (s)"
  69. #plot 'result_2a' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3
  70. #
  71. #set out 'result_2a-bis.eps'
  72. #set title "Influence of number of models for periodic state saving"
  73. #set xlabel "Number of models"
  74. #set ylabel "Execution time (s)"
  75. #plot 'result_2a-bis' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3
  76. #
  77. #set out 'result_6.eps'
  78. #set title "Influence of maximum delay for periodic state saving"
  79. #set xlabel "Maximum delay (s)"
  80. #set ylabel "Execution time (s)"
  81. #plot 'result_6' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3
  82. #
  83. #set out 'result_7a.eps'
  84. #set title "Influence of maximum memory consumption for copy state saving"
  85. #set xlabel "Maximum memory (B)"
  86. #set ylabel "Execution time (s)"
  87. #plot 'result_7a' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3
  88. #
  89. #set out 'result_7b.eps'
  90. #set title "Influence of maximum memory consumption for periodic state saving"
  91. #set xlabel "Maximum memory (B)"
  92. #set ylabel "Execution time (s)"
  93. #plot 'result_7b' using 1:($2) title "Forward step" w l ls 1, '' using 1:($3) title "Random jump" w l ls 2, '' using 1:($4) title "Backward step" w l ls 3
  94. #
  95. #set out 'result_8.eps'
  96. #set title "Influence of state size on forward stepping"
  97. #set xlabel "Model state (B)"
  98. #set ylabel "Execution time (s)"
  99. #plot 'result_8' using 1:($2) title "copy" w l ls 1, '' using 1:($3) title "periodic" w l ls 2