Commit 3813841c authored by Barbier's avatar Barbier
Browse files

Version 3

parent bbb8c671
Pipeline #4655 passed with stage
in 8 seconds
......@@ -23,7 +23,7 @@ int main(int argc, char ** argv){
int nb_aleatoire;
srand(time(NULL));
float p = 0.1;
float p = 0.5;
double resultat;
for(i = 0; i < 1000000 ; i++){
nb_aleatoire = rand() % 1000000;
......
......@@ -23,7 +23,7 @@ int main(int argc, char ** argv){
int nb_aleatoire;
srand(time(NULL));
float p = 0.1;
float p = 0.5;
double resultat;
for(i = 0; i < 1000000 ; i++){
nb_aleatoire = rand() % 1000000;
......
......@@ -12,7 +12,7 @@ set xlabel "Nombre d'elements ajoutes" font "Helvetica,24"
set ylabel "Temps amorti" font "Helvetica,24"
# Nom du fichier Postscript en sortie
set output 'dynamic_binary_heap_extract_p_0.1_amortized_time_C.pdf'
set output 'dynamic_binary_heap_extract_p_0.5_amortized_time_C.pdf'
plot [0:1000000][0:600] 'dynamic_binary_heap_extract_amortized_time_C.plot' using 1:3 w lines title "Amortized C"
......@@ -23,7 +23,7 @@ plot [0:1000000][0:600] 'dynamic_binary_heap_extract_amortized_time_C.plot' usin
set ylabel "Memoire gaspillee" font "Helvetica,24"
# Nom du fichier Postscript en sortie
set output 'dynamic_binary_heap_extract_p_0.1_wasted_memory_C.pdf'
set output 'dynamic_binary_heap_extract_p_0.5_wasted_memory_C.pdf'
plot 'dynamic_binary_heap_extract_wasted_memory_C.plot' using 1:2 w lines title "Espace memoire inutilise C"
......@@ -34,6 +34,6 @@ plot 'dynamic_binary_heap_extract_wasted_memory_C.plot' using 1:2 w lines title
set ylabel "Nombre de swap effectues" font "Helvetica,24"
# Nom du fichier Postscript en sortie
set output 'dynamic_binary_heap_extract_p_0.1_swap_C.pdf'
set output 'dynamic_binary_heap_extract_p_0.5_swap_C.pdf'
plot 'dynamic_binary_heap_extract_swap_C.plot' using 1:2 w boxes title "Nombre de swap effectues C"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment