Commit e86f726f authored by david's avatar david
Browse files

Added plots directory

parent 5e17bdc6
......@@ -41,9 +41,9 @@ int main(int argc, char ** argv){
fprintf(stderr, "Standard deviation: %lf\n", get_standard_deviation(time_analysis));
// Sauvegarde les données de l'expérience.
save_values(time_analysis, "../dynamic_array_time_c.plot");
save_values(copy_analysis, "../dynamic_array_copy_c.plot");
save_values(memory_analysis, "../dynamic_array_memory_c.plot");
save_values(time_analysis, "../plots/dynamic_array_time_c.plot");
save_values(copy_analysis, "../plots/dynamic_array_copy_c.plot");
save_values(memory_analysis, "../plots/dynamic_array_memory_c.plot");
// Nettoyage de la mémoire avant la sortie du programme
arraylist_destroy(a);
......
......@@ -41,9 +41,9 @@ int main(int argc, char ** argv){
std::cerr<<"Standard deviation :"<<time_analysis.get_standard_deviation()<<std::endl;
// Sauvegarde les données de l'expérience.
time_analysis.save_values("../dynamic_array_time_cpp.plot");
copy_analysis.save_values("../dynamic_array_copy_cpp.plot");
memory_analysis.save_values("../dynamic_array_memory_cpp.plot");
time_analysis.save_values("../plots/dynamic_array_time_cpp.plot");
copy_analysis.save_values("../plots/dynamic_array_copy_cpp.plot");
memory_analysis.save_values("../plots/dynamic_array_memory_cpp.plot");
return 0;
}
......@@ -39,8 +39,8 @@ public class Main {
System.err.println("Standard deviation :"+time_analysis.get_standard_deviation());
// Sauvegarde les données de l'expérience: temps et nombre de copies effectuées par opération.
time_analysis.save_values("../dynamic_array_time_java.plot");
copy_analysis.save_values("../dynamic_array_copy_java.plot");
memory_analysis.save_values("../dynamic_array_memory_java.plot");
time_analysis.save_values("../plots/dynamic_array_time_java.plot");
copy_analysis.save_values("../plots/dynamic_array_copy_java.plot");
memory_analysis.save_values("../plots/dynamic_array_memory_java.plot");
}
}
......@@ -23,4 +23,4 @@ sys.stderr.write("Variance :" + str(time_analysis.get_variance())+"\n")
sys.stderr.write("Standard deviation :" + str(time_analysis.get_standard_deviation())+"\n")
# Sauvegarde les donnees de l'experience.
time_analysis.save_values("../dynamic_array_time_python.plot")
time_analysis.save_values("../plots/dynamic_array_time_python.plot")
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