#set yrange [0:300]
#set offsets 0,0,2,2
set key left top
-plot 'time_gpu.txt' using 1:3 t "optimized prng on C1060" with linespoints lt 1 lw 2 ps 0 pt 5, \
- 'time_gpu.txt' using 1:5 t "optimized prng on GTX285" with linespoints lt 3 lw 2 ps 0 pt 5, \
- 'time_gpu.txt' using 1:2 t "naive prng on C1060" with linespoints lt 4 lw 2 ps 0 pt 5, \
- 'time_gpu.txt' using 1:4 t "naive prng on GTX285" with linespoints lt 5 lw 2 ps 0 pt 5
\ No newline at end of file
+plot 'time_bbs_gpu.txt' using 1:2 t "optimized bbs based prng on C1060" with linespoints lt 1 lw 2 ps 0 pt 5, \
+ 'time_bbs_gpu.txt' using 1:3 t "optimized bbs based prng on GTX285" with linespoints lt 3 lw 2 ps 0 pt 5
\ No newline at end of file
--- /dev/null
+# Analysis description
+set encoding iso_8859_1
+set terminal x11
+set size 1,0.5
+set term postscript enhanced portrait "Helvetica" 12
+#set title "Performance on homogeneous cluster"
+set ylabel "Random numbers generated / second"
+set xlabel "Number of threads used by the GPU"
+#set nologscale;
+set logscale x;
+set logscale y;
+#set label "Taille" at -0.002,2.1 right
+#set label "file" at -0.003,2 right
+#set key 1500,1600
+#set xrange [20:200]
+#set yrange [0:300]
+#set offsets 0,0,2,2
+set key left top
+plot 'time_xorlike_gpu.txt' using 1:3 t "optimized prng on C1060" with linespoints lt 1 lw 2 ps 0 pt 5, \
+ 'time_xorlike_gpu.txt' using 1:5 t "optimized prng on GTX285" with linespoints lt 3 lw 2 ps 0 pt 5, \
+ 'time_xorlike_gpu.txt' using 1:2 t "naive prng on C1060" with linespoints lt 4 lw 2 ps 0 pt 5, \
+ 'time_xorlike_gpu.txt' using 1:4 t "naive prng on GTX285" with linespoints lt 5 lw 2 ps 0 pt 5
\ No newline at end of file
\begin{figure}[htbp]
\begin{center}
- \includegraphics[scale=.7]{curve_time_gpu.pdf}
+ \includegraphics[scale=.7]{curve_time_xorlike_gpu.pdf}
\end{center}
-\caption{Number of random numbers generated per second}
-\label{fig:time_gpu}
+\caption{Number of random numbers generated per second with the xorlike based prng}
+\label{fig:time_xorlike_gpu}
\end{figure}
+\begin{figure}[htbp]
+\begin{center}
+ \includegraphics[scale=.7]{curve_time_bbs_gpu.pdf}
+\end{center}
+\caption{Number of random numbers generated per second with the bbs based prng}
+\label{fig:time_bbs_gpu}
+\end{figure}
+
+
%% \section{Cryptanalysis of the Proposed PRNG}
--- /dev/null
+#threads bbs (c1060) opti rand/s (gtx285) opti
+10240 1627217759.55 1498102683.67
+20480 1749246235.44 1607349227.62
+30720 1833097798.03 1685516555.22
+51200 1798823386.81 1653380954.14
+76800 1802172135.34 1657005808.07
+102400 1810622021.15 1664347848.70
+153600 1831246356.28 1685425622.09
+512000 1826609454.30 1682096838.84
+768000 1825429813.30 1682980716.62
+1048576 1823084118.32 1679854343.07
+2097152 1818671555.41 1676695462.37
+5242880 1805432088.56 1667271144.46