From 76ef4964eb16d1517e52f70bdd9ba007da8391fc Mon Sep 17 00:00:00 2001 From: Kahina Date: Wed, 21 Oct 2015 09:18:57 +0200 Subject: [PATCH] ajout 1ere figure --- figures/influence_nb_threads.plot | 16 ++++++++++++++++ figures/influence_nb_threads.txt | 9 +++++++++ paper.tex | 10 ++++++++++ 3 files changed, 35 insertions(+) create mode 100644 figures/influence_nb_threads.plot create mode 100644 figures/influence_nb_threads.txt diff --git a/figures/influence_nb_threads.plot b/figures/influence_nb_threads.plot new file mode 100644 index 0000000..3ab45d3 --- /dev/null +++ b/figures/influence_nb_threads.plot @@ -0,0 +1,16 @@ +# Analysis description +set encoding iso_8859_1 +set terminal x11 +set size 1,0.5 +set term postscript enhanced portrait "Helvetica" 12 + +set ylabel "execution times (in s)" +set xlabel "nb. of threads per block" +set logscale x +set logscale y + +#set key on outside left bmargin +plot 'influence_nb_threads.txt' using 1:2 t "sparse 500K" with linespoints lt 1 lw 2 ps 1 pt 1,\ + 'nb_iter_sec_ex15_juqueen.txt' using 1:4 t "full 500K" with linespoints lt 2 lw 2 ps 2 pt 1 + + diff --git a/figures/influence_nb_threads.txt b/figures/influence_nb_threads.txt new file mode 100644 index 0000000..5b11a3f --- /dev/null +++ b/figures/influence_nb_threads.txt @@ -0,0 +1,9 @@ +#500000 sparse full +#nb threads times nb iter times nb iter +1024 523 27 545 +512 449.426 24 +256 440.805 24 +128 456.175 22 +64 472.862 23 +32 830.152 24 +8 2632.78 23 diff --git a/paper.tex b/paper.tex index e024df9..5920cad 100644 --- a/paper.tex +++ b/paper.tex @@ -654,6 +654,16 @@ We initially carried out the convergence of Aberth algorithm with various sizes \end{table} + +\begin{figure}[htbp] +\centering + \includegraphics[width=0.8\textwidth]{figures/influence_nb_threads} +\caption{Influence of the number of threads on the execution times of different polynomials (sparse and full)} +\label{fig:01} +\end{figure} + + + \paragraph{A comparative study between Aberth and Durand-kerner algorithm} \begin{table}[htbp] \centering -- 2.39.5