Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename option "surf/precision" to "precision/timing" for clarity.
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 16 Feb 2023 22:44:37 +0000 (23:44 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 17 Feb 2023 07:30:13 +0000 (08:30 +0100)
ChangeLog
docs/source/Configuring_SimGrid.rst
src/kernel/lmm/System.cpp
src/simgrid/sg_config.cpp

index a70a5dc..b9f5e31 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,7 @@ Models:
  - Allow to disable the TCP windowing modeling by setting network/TCP-gamma to 0.
  - Finally kill the 'compound' host model. You can change the CPU or network model
    with the default host model, as it should.
+ - Rename option "surf/precision" to "precision/timing" for clarity.
 
 sthread:
  - Implement pthread_join in MC mode.
index 5634256..a2bc3e3 100644 (file)
@@ -140,7 +140,7 @@ Existing Configuration Items
 
 - **storage/max_file_descriptors:** :ref:`cfg=storage/max_file_descriptors`
 
-- **surf/precision:** :ref:`cfg=surf/precision`
+- **precision/timing:** :ref:`cfg=precision/timing`
 
 - **For collective operations of SMPI,** please refer to Section :ref:`cfg=smpi/coll-selector`
 - **smpi/auto-shared-malloc-thresh:** :ref:`cfg=smpi/auto-shared-malloc-thresh`
@@ -304,13 +304,13 @@ configurations.
 
 .. _cfg=bmf/precision:
 .. _cfg=maxmin/precision:
-.. _cfg=surf/precision:
+.. _cfg=precision/timing:
 
 Numerical Precision
 ...................
 
 **Option** ``maxmin/precision`` **Default:** 1e-5 (in flops or bytes) |br|
-**Option** ``surf/precision`` **Default:** 1e-9 (in seconds) |br|
+**Option** ``precision/timing`` **Default:** 1e-9 (in seconds) |br|
 **Option** ``bmf/precision`` **Default:** 1e-12 (no unit)
 
 The analytical models handle a lot of floating point values. It is
index 5df8786..a665cfe 100644 (file)
@@ -14,7 +14,7 @@
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ker_lmm, kernel, "Kernel Linear Max-Min solver");
 
 double sg_maxmin_precision = 1E-5; /* Change this with --cfg=maxmin/precision:VALUE */
-double sg_precision_timing = 1E-9; /* Change this with --cfg=surf/precision:VALUE */
+double sg_precision_timing = 1E-9; /* Change this with --cfg=precision/timing:VALUE */
 int sg_concurrency_limit   = -1;      /* Change this with --cfg=maxmin/concurrency-limit:VALUE */
 
 namespace simgrid::kernel::lmm {
index 2793ca5..dc2fd84 100644 (file)
@@ -146,7 +146,7 @@ void sg_config_init(int *argc, char **argv)
   simgrid_host_models().create_flag("host/model", "The model to use for the host", "default", false);
   simgrid_disk_models().create_flag("disk/model", "The model to use for the disk", "S19", false);
 
-  simgrid::config::bind_flag(sg_precision_timing, "surf/precision",
+  simgrid::config::bind_flag(sg_precision_timing, "precision/timing", {"surf/precision"},
                              "Numerical precision used when updating simulation times (in seconds)");
 
   simgrid::config::bind_flag(sg_maxmin_precision, "maxmin/precision",