Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
align doc and code on a more sensible value
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 10 Sep 2018 13:03:49 +0000 (15:03 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 10 Sep 2018 13:03:49 +0000 (15:03 +0200)
doc/doxygen/options.doc
src/smpi/internals/smpi_bench.cpp

index 200b091..34bec89 100644 (file)
@@ -1250,7 +1250,7 @@ to smpirun to actually activate the huge page support in shared mallocs.
 
 @subsection options_model_smpi_wtime smpi/wtime: Inject constant times for calls to MPI_Wtime, gettimeofday and clock_gettime
 
 
 @subsection options_model_smpi_wtime smpi/wtime: Inject constant times for calls to MPI_Wtime, gettimeofday and clock_gettime
 
-@b Default value: 1ms
+@b Default value: 10 ns
 
 This option controls the amount of (simulated) time spent in calls to
 MPI_Wtime(), gettimeofday() and clock_gettime(). If you set this value
 
 This option controls the amount of (simulated) time spent in calls to
 MPI_Wtime(), gettimeofday() and clock_gettime(). If you set this value
index 3ebf408..9793546 100644 (file)
@@ -31,7 +31,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_bench, smpi, "Logging specific to SMPI (ben
 static simgrid::config::Flag<double>
     smpi_wtime_sleep("smpi/wtime",
                      "Minimum time to inject inside a call to MPI_Wtime(), gettimeofday() and clock_gettime()",
 static simgrid::config::Flag<double>
     smpi_wtime_sleep("smpi/wtime",
                      "Minimum time to inject inside a call to MPI_Wtime(), gettimeofday() and clock_gettime()",
-                     1e-6 /* Documented to be 1ms */);
+                     1e-8 /* Documented to be 10 ns */);
 
 double smpi_cpu_threshold = -1;
 double smpi_host_speed;
 
 double smpi_cpu_threshold = -1;
 double smpi_host_speed;