Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove more references to MSG in documentation.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 14 Jan 2023 14:27:20 +0000 (15:27 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sat, 14 Jan 2023 14:39:15 +0000 (15:39 +0100)
[ci-skip]

docs/source/Configuring_SimGrid.rst
docs/source/img/graphical-toc.svg
examples/smpi/smpi_s4u_masterworker/s4u_smpi.tesh
src/plugins/host_energy.cpp
src/s4u/s4u_Host.cpp
src/s4u/s4u_VirtualMachine.cpp
src/surf/xml/surfxml_sax_cb.cpp
src/xbt/dynar.cpp

index 31139cb..05db361 100644 (file)
@@ -544,7 +544,7 @@ the correspondent receive. This threshold can be configured through
 the ``smpi/async-small-thresh`` item. The default value is 0. This
 behavior can also be manually set for mailboxes, by setting the
 receiving mode of the mailbox with a call to
-:cpp:func:`MSG_mailbox_set_async`. After this, all messages sent to
+:cpp:func:`sg_mailbox_set_receiver`. After this, all messages sent to
 this mailbox will have this behavior regardless of the message size.
 
 This value needs to be smaller than or equals to the threshold set at
index a100421..aeaf490 100644 (file)
          y="66.582924"
          sodipodi:role="line"
          id="tspan17218"
-         style="stroke-width:0.0891421">$./my_simulator|MSG_visualization/colorize.pl</tspan><tspan
+         style="stroke-width:0.0891421">$./my_simulator</tspan><tspan
          x="186.39912 188.38054 188.71083 189.04111 189.37141 189.70169 190.03198"
          y="67.293381"
          sodipodi:role="line"
index b6dccb4..bf1b377 100644 (file)
@@ -1,4 +1,4 @@
-p Test the use of SMPI+MSG in the same file, as well as several different SMPI instances at the same time
+p Test the use of SMPI+S4u in the same file, as well as several different SMPI instances at the same time
 ! output sort
 $ ./masterworker_mailbox_smpi ${srcdir:=.}/../../platforms/small_platform_with_routers.xml ${srcdir:=.}/deployment_masterworker_mailbox_smpi.xml --log=smpi.:info --cfg=smpi/simulate-computation:no
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/simulate-computation' to 'no'
index 2f49bd4..32af0e3 100644 (file)
@@ -94,8 +94,8 @@ This encodes the following values:
    </table>
 
 To change the pstate of a given CPU, use the following functions:
-:cpp:func:`MSG_host_get_nb_pstates()`, :cpp:func:`simgrid::s4u::Host::set_pstate()`,
-:cpp:func:`MSG_host_get_power_peak_at()`.
+:cpp:func:`sg_host_get_nb_pstates()`, :cpp:func:`simgrid::s4u::Host::set_pstate()`,
+:cpp:func:`sg_host_get_pstate_speed()`.
 
 .. raw:: html
 
index 34fdb68..67936f5 100644 (file)
@@ -552,7 +552,7 @@ void sg_host_turn_on(sg_host_t host)
  *
  * @brief Stop the host if it is on
  *
- * See also #MSG_host_is_on() to test the current state of the host and @ref plugin_host_energy
+ * See also #sg_host_is_on() to test the current state of the host and @ref plugin_host_energy
  * for more info on DVFS.
  */
 void sg_host_turn_off(sg_host_t host)
index 2c60323..2f15e4e 100644 (file)
@@ -119,7 +119,7 @@ VirtualMachine* VirtualMachine::set_ramsize(size_t ramsize)
 /** @brief Set a CPU bound for a given VM.
  *  @ingroup msg_VMs
  *
- * 1. Note that in some cases MSG_task_set_bound() may not intuitively work for VMs.
+ * 1. Note that in some cases sg_exec_set_bound() may not intuitively work for VMs.
  *
  * For example,
  *  On PM0, there are Task1 and VM0.
@@ -137,7 +137,7 @@ VirtualMachine* VirtualMachine::set_ramsize(size_t ramsize)
  * It should be the sum of all tasks on the VM. But, this solution might be costly, because we have to scan all tasks
  * on the VM in share_resource() or we have to trap both the start and end of task execution.
  *
- * The current solution is to use setBound(), which allows us to directly set the bound of the dummy CPU action.
+ * The current solution is to use set_bound(), which allows us to directly set the bound of the dummy CPU action.
  *
  * 2. Note that bound == 0 means no bound (i.e., unlimited). But, if a host has multiple CPU cores, the CPU share of a
  *    computation task (or a VM) never exceeds the capacity of a CPU core.
index c054e05..a47b4f2 100644 (file)
@@ -187,10 +187,7 @@ void STag_surfxml_platform() {
                                      "available in the tools/ directory of the source archive.\n"
 
                                      "Please check also out the SURF section of the ChangeLog for "
-                                     "the 3.1 version for more information. \n"
-
-                                     "Last, do not forget to also update your values for "
-                                     "the calls to MSG_task_create (if any).");
+                                     "the 3.1 version for more information.");
   surf_parse_assert(version >= 300L, "******* BIG FAT WARNING *********\n "
                                      "You're using an old XML file.\n"
                                      "Use simgrid_update_xml to update your file automatically. "
index 2872072..c26c077 100644 (file)
@@ -353,15 +353,6 @@ void xbt_dynar_map(const_xbt_dynar_t dynar, void_f_pvoid_t op)
    }
    @endverbatim
  *
- * And now, a function to sort a dynar of MSG hosts depending on their speed:
- * @verbatim
-   int cmpfunc(const MSG_host_t a, const MSG_host_t b) {
-     MSG_host_t hostA = *(MSG_host_t*)a;
-     MSG_host_t hostB = *(MSG_host_t*)b;
-     return MSG_host_get_speed(hostA) - MSG_host_get_speed(hostB);
-   }
-   @endverbatim
- *
  * @param dynar the dynar to sort
  * @param compar_fn comparison function of type (int (compar_fn*) (const void*) (const void*)).
  */