From: Martin Quinson Date: Mon, 10 Sep 2018 13:03:49 +0000 (+0200) Subject: align doc and code on a more sensible value X-Git-Tag: v3_21~110 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/54cb3695a30bf100bec2710d11af87d3b6ba1a44?hp=e3fec2a3365f64f544f1ae5d06312e39fc12c87e align doc and code on a more sensible value --- diff --git a/doc/doxygen/options.doc b/doc/doxygen/options.doc index 200b0915a1..34bec891a3 100644 --- a/doc/doxygen/options.doc +++ b/doc/doxygen/options.doc @@ -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 -@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 diff --git a/src/smpi/internals/smpi_bench.cpp b/src/smpi/internals/smpi_bench.cpp index 3ebf4088b1..9793546b0f 100644 --- a/src/smpi/internals/smpi_bench.cpp +++ b/src/smpi/internals/smpi_bench.cpp @@ -31,7 +31,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_bench, smpi, "Logging specific to SMPI (ben static simgrid::config::Flag 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;