Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correct a few a/an.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 19 Oct 2020 12:00:27 +0000 (14:00 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 19 Oct 2020 12:40:30 +0000 (14:40 +0200)
67 files changed:
ChangeLog
doc/Doxyfile.in
doc/doxygen/inside_extending.doc
doc/doxygen/platform.doc
doc/doxygen/uhood.doc
doc/doxygen/uhood_arch.doc
doc/doxygen/uhood_switch.doc
docs/source/Configuring_SimGrid.rst
docs/source/Tutorial_MPI_Applications.rst
docs/source/XML_Reference.rst
docs/source/app_s4u.rst
docs/source/community.rst
docs/source/ns3.rst
examples/README.rst
examples/c/dht-kademlia/answer.c
examples/c/dht-kademlia/node.c
examples/c/io-file-system/io-file-system.c
examples/deprecated/java/dht/kademlia/Bucket.java
examples/deprecated/msg/README.doc
examples/deprecated/msg/trace-link-user-variables/trace-link-user-variables.c
examples/deprecated/msg/trace-route-user-variables/trace-route-user-variables.c
examples/s4u/dht-kademlia/answer.cpp
examples/s4u/dht-kademlia/node.cpp
examples/s4u/io-file-system/s4u-io-file-system.cpp
examples/s4u/platform-failures/s4u-platform-failures.cpp
examples/s4u/platform-profile/s4u-platform-profile.cpp
include/simgrid/Exception.hpp
include/simgrid/host.h
include/simgrid/s4u/Mailbox.hpp
include/simgrid/simix.h
include/simgrid/simix/blocking_simcall.hpp
include/xbt/Extendable.hpp
include/xbt/system_error.hpp
src/bindings/java/jmsg_host.h
src/bindings/java/org/simgrid/msg/Host.java
src/instr/instr_interface.cpp
src/kernel/routing/RoutedZone.cpp
src/kernel/routing/WifiZone.cpp
src/mc/Session.cpp
src/mc/inspect/ObjectInformation.cpp
src/mc/inspect/mc_dwarf.cpp
src/mc/inspect/mc_unw.hpp
src/mc/mc_record.hpp
src/mc/mc_smx.cpp
src/mc/mc_state.hpp
src/mc/sosp/ChunkedData.hpp
src/plugins/vm/VmLiveMigration.cpp
src/s4u/s4u_Engine.cpp
src/s4u/s4u_Host.cpp
src/simdag/sd_task.cpp
src/smpi/colls/smpi_coll.cpp
src/smpi/colls/smpi_intel_mpi_selector.cpp
src/smpi/internals/smpi_bench.cpp
src/smpi/internals/smpi_deployment.cpp
src/smpi/internals/smpi_memory.cpp
src/smpi/internals/smpi_replay.cpp
src/surf/HostImpl.hpp
src/surf/network_ns3.cpp
src/surf/surf_interface.cpp
src/surf/xml/simgrid.dtd
src/surf/xml/simgrid_dtd.c
src/xbt/graph.c
src/xbt/memory_map.cpp
src/xbt/mmalloc/mm_module.c
teshsuite/s4u/activity-lifecycle/testing_exec.cpp
teshsuite/s4u/ns3-from-src-to-itself/ns3-from-src-to-itself.tesh
tools/git-hooks/clang-format.pre-commit

index f189cb2..e5d1e1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -463,7 +463,7 @@ Documentation:
    (documenting all internals this way is overkill + doxygen scales badly)
  - New tutorial on S4U (highly inspired from the old MSG one, but with
    a git repository to fork as a starting point, and a docker image)
- - Started but not finished a SMPI tutorial inspired from the JLPC'14 one.
+ - Started but not finished an SMPI tutorial inspired from the JLPC'14 one.
  - The Developper manual is still to be converted (not compiled until then)
  - Some parts are still missing in this conversion (such as the
    platform and deployment sections) while others were blindly converted
@@ -891,7 +891,7 @@ SimGrid (3.16) Released June 22. 2017.
  * This is (mainly) a backward compatible change: v4 are valid v4.1 files
    - <zone> can be used as a synonym for the now deprecated <as>
    - <zoneRoute> can be used as a synonym for the now deprecated <asroute>
-   - <bypassZoneRoute> an be used as a synonym for the now deprecated <bypassAsRoute>
+   - <bypassZoneRoute> can be used as a synonym for the now deprecated <bypassAsRoute>
    - <actor> can be used as a synonym for the now deprecated <process>
    - state_file and avail_file periodicity is now easier to express
      (check the documentation) the old behavior should still work.
@@ -1827,7 +1827,7 @@ SimGrid (3.8) stable; urgency=low
  TRACE:
  * Two new tracing options for adding comments to trace file so you
    can track your experiments (see --help-tracing for details).
- * New option to generate a impoverished trace file (--cfg=tracing/basic:1)
+ * New option to generate an impoverished trace file (--cfg=tracing/basic:1)
  * Adding the SimGrid version that generated the trace file as a comment.
  * Instrumenting other MSG functions (MSG_task_isend_with_matching and MSG_task_dsend)
  * Fix to avoid key clashes on Paje links
@@ -3778,7 +3778,7 @@ SimGrid (2.90) unstable; urgency=low
     MSG but a few things really had to disappear. The main differences
     with the previous version are:
        1) no more m_links_t and the corresponding functions. Platforms are
-         directly read from a XML description and cannot be hard-coded
+         directly read from an XML description and cannot be hard-coded
          anymore. The same format is used for application deployment
          description. The new format is described in the documentation.
          Have a look in tools/platform_generation. There is a tiny script
index b4146bb..e95c329 100644 (file)
@@ -43,7 +43,7 @@ PROJECT_NUMBER         = @release_version@
 
 PROJECT_BRIEF          = "Versatile Simulation of Distributed Systems"
 
-# With the PROJECT_LOGO tag one can specify an logo or icon that is
+# With the PROJECT_LOGO tag one can specify a logo or icon that is
 # included in the documentation. The maximum height of the logo should not
 # exceed 55 pixels and the maximum width should not exceed 200 pixels.
 # Doxygen will copy the logo to the output directory.
@@ -1509,7 +1509,7 @@ PERL_PATH              = /usr/bin/perl
 #---------------------------------------------------------------------------
 
 # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
-# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
+# generate an inheritance diagram (in HTML, RTF and LaTeX) for classes with base
 # or super classes. Setting the tag to NO turns the diagrams off. Note that
 # this option also works with HAVE_DOT disabled, but it is recommended to
 # install and use dot, since it yields more powerful graphs.
index 83c934e..2aba2a5 100644 (file)
@@ -35,7 +35,7 @@ the classes of the corresponding interfaces.
 For instance, if you want to add a new cup model called `Plop`, create two files
 cpu_plop.hpp and cpu_plop_cpp which contains classes CpuPlopModel, CpuPlop and
 CpuPlopAction implementing respectively the interfaces CpuModel, Cpu and
-CpuAction. You also need to define a initializing function like this:
+CpuAction. You also need to define an initializing function like this:
 
 ~~~~
 void surf_cpu_model_init_plop()
index 831b6ec..f17a303 100644 (file)
@@ -163,7 +163,7 @@ etc.
 
 There are two tags at all times available to represent network entities and
 several other tags that are available only in certain contexts.
-1. ``<link>``: Represents a entity that has a limited bandwidth, a
+1. ``<link>``: Represents an entity that has a limited bandwidth, a
     latency, and that can be shared according to TCP way to share this
     bandwidth.
 @remark
@@ -519,7 +519,7 @@ and destination zones, along with the gateway in each zone (ie, the
 point to reach within that zone to reach the netzone), and the list of
 links in the ancestor zone to go from one zone to another.
 
-So, to go from an host @c src_host that is within zone @c src, to an
+So, to go from a host @c src_host that is within zone @c src, to a
 host @c dst_host that is within @c dst, you need to:
 
  - move within zone @c src, from @c src_host to the specified @c gw_src;
@@ -672,7 +672,7 @@ attribute was not given, this route is presumed to be symmetrical.
 
 @subsection pb_baroex Basic Routing Example
 
-Let's say you have an zone named zone_Big that contains two other zone, zone_1
+Let's say you have a zone named zone_Big that contains two other zones, zone_1
 and zone_2. If you want to make a host (h1) from zone_1 with another one
 (h2) from zone_2 then you'll have to proceed as follows:
 @li First, you have to ensure that a route is defined from h1 to the
@@ -910,11 +910,11 @@ non-intuitive schema ... Something like that:
 
 In the zone_4, you have an exitzone_4 defined, containing only one router,
 and routes defined to that zone from all other zone (as cluster is only a
-shortcut for an zone, see cluster description for details). If there was
+shortcut for a zone, see cluster description for details). If there was
 an upper zone, it would define routes to and from zone_4 with the gateway
 router_4. It's just because, as we did not allowed (for performances
-issues) to have routes from an zone to a single host/router, you have to
-enclose your gateway, when you have zone included in your zone, within an
+issues) to have routes from a zone to a single host/router, you have to
+enclose your gateway, when you have zone included in your zone, within a
 zone to define routes to it.
 
 @subsection pf_P2P_tags P2P or how to use coordinates
@@ -966,7 +966,7 @@ That is for example what is commonly done when using peers (see Section @ref pf_
 In such a case though, we connect the zone created by the <b>peer</b> tag with the Vivaldi routing mechanism.
 This means that to route between zone1 and zone2, it will use the coordinates of router_zone1 and router_zone2.
 This is currently a convention and we may offer to change this convention in the DTD later if needed.
-You may have noted that conveniently, a peer named FOO defines an zone named FOO and a router named router_FOO, which is why it works seamlessly with the <b>peer</b> tag.
+You may have noted that conveniently, a peer named FOO defines a zone named FOO and a router named router_FOO, which is why it works seamlessly with the <b>peer</b> tag.
 
 
 @subsection pf_routing_howto_choose_wisely Choosing wisely the routing model to use
index 747aa5e..6c5e0ff 100644 (file)
@@ -19,7 +19,7 @@ We provide an uniform interface to them:
   `intrusive_ptr_release(p)` (which is the interface used by
   [`boost::intrusive_ptr`](http://www.boost.org/doc/libs/1_61_0/libs/smart_ptr/intrusive_ptr.html));
 
-- delegation of the operations to a opaque `pimpl` (which is the Maestro object);
+- delegation of the operations to an opaque `pimpl` (which is the Maestro object);
 
 - the Maestro object and the corresponding S4U object have the same lifetime
   (and share the same reference count).
@@ -33,7 +33,7 @@ Some objects currently live for the whole duration of the simulation and do
 not have reference counts. We still provide dummy `intrusive_ptr_add_ref(p)`,
 `intrusive_ptr_release(p)` and `FooPtr` for consistency.
 
-In many cases, we try to have a API which is consistent with the API or
+In many cases, we try to have an API which is consistent with the API or
 corresponding C++ standard classes. For example, the methods of
 `simgrid::s4u::Mutex` are based on [`std::mutex`](http://en.cppreference.com/w/cpp/thread/mutex).
 This has several benefits:
@@ -84,7 +84,7 @@ public:
 using ActorPtr = Actor::Ptr;
 ~~~
 
-It uses the `simgrid::simix::Process` as a opaque pimple:
+It uses the `simgrid::simix::Process` as an opaque pimple:
 
 ~~~
 class Process {
index 732ff1c..617f89b 100644 (file)
@@ -42,7 +42,7 @@ your work.
    technical issues of real platforms are masked here. Check the @ref
    MSG_API section for more information.
 
- - If you want to study the behavior of a MPI application using emulation,
+ - If you want to study the behavior of an MPI application using emulation,
    you should have a look at the <b>@ref SMPI_API</b> (Simulated
    MPI) programming environment. Unfortunately, this work is still underway.
    Check the @ref SMPI_API section for more information.
index 72a8605..ff66dbf 100644 (file)
@@ -789,7 +789,7 @@ Reusing the same API as the C++ standard library is very useful because:
 
 This type of approach might be useful for other libraries which define
 their own contexts. An example of this is
-[Mordor](https://github.com/mozy/mordor), a I/O library using fibers
+[Mordor](https://github.com/mozy/mordor), an I/O library using fibers
 (cooperative scheduling): it implements cooperative/fiber
 [mutex](https://github.com/mozy/mordor/blob/4803b6343aee531bfc3588ffc26a0d0fdf14b274/mordor/fibersynchronization.h#L70),
 [recursive
index f680b51..3055d6a 100644 (file)
@@ -636,7 +636,7 @@ If set, the ``model-check/dot-output`` configuration item is the name
 of a file in which to write a dot file of the path leading to the
 property violation discovered (safety or liveness violation), as well
 as the cycle for liveness properties. This dot file can then be fed to the
-graphviz dot tool to generate an corresponding graphical representation.
+graphviz dot tool to generate a corresponding graphical representation.
 
 .. _cfg=model-check/max-depth:
 
index 355464a..f39fb0b 100644 (file)
@@ -67,7 +67,7 @@ time is reported into the simulator.
 Describing Your Platform
 ------------------------
 
-As a SMPI user, you are supposed to provide a description of your
+As an SMPI user, you are supposed to provide a description of your
 simulated platform, that is mostly a set of simulated hosts and network
 links with some performance characteristics. SimGrid provides a plenty
 of :ref:`documentation <platform>` and examples (in the
@@ -256,7 +256,7 @@ Hands-on!
 ---------
 
 It is time to start using SMPI yourself. For that, you first need to
-install it somehow, and then you will need a MPI application to play with.
+install it somehow, and then you will need an MPI application to play with.
 
 Using Docker
 ............
index 7036d53..356d4dc 100644 (file)
@@ -300,7 +300,7 @@ This tag represents a peer, as in Peer-to-Peer (P2P) networks. It is
 handy to model situations where hosts have an asymmetric
 connectivity. Computers connected through set-top-boxes usually have a
 much better download rate than their upload rate.  To model this,
-<peer> creates and connects several elements: an host, an upload link
+<peer> creates and connects several elements: a host, an upload link
 and a download link.
 
 **Parent tags:** :ref:`pf_tag_zone` (only with Vivaldi routing) |br|
index 661e11a..aff4792 100644 (file)
@@ -332,7 +332,7 @@ garbage-collected. If your simulation creates many short-lived actors
 that marked as permanent receiver, you should call
 ``mailbox->set_receiver(nullptr)`` by the end of the actors so that their
 memory gets properly reclaimed. This call should be at the end of the
-actor's function, not in a on_exit callback.
+actor's function, not in an on_exit callback.
 
 .. _s4u_raii:
 
@@ -364,7 +364,7 @@ Here is a little example:
 
 Note that Mailboxes, Hosts and Links are not handled thought smart
 pointers (yet?). This means that it is currently impossible to destroy a
-mailbox or a link. You can still destroy an host (but probably
+mailbox or a link. You can still destroy a host (but probably
 shouldn't), using :cpp:func:`simgrid::s4u::Host::destroy`.
 
 .. THE EXAMPLES
index 97ffa5d..c662790 100644 (file)
@@ -266,7 +266,7 @@ low-level concerns about the way the model checker is implemented. This makes it
 difficult to write new algorithms and difficult to understand, debug, and modify
 the existing ones. We need a clean API to express the model-checking algorithms
 in a form which is closer to the text-book/paper description. This API must
-be exposed in a language which is more adequate to this task.
+be exposed in a language which is more adequate to this task.
 
 Tasks:
 
index b125056..e27de74 100644 (file)
@@ -12,7 +12,7 @@ The SimGrid/ns-3 binding only contains features that are common to both systems.
 Not all ns-3 models are available from SimGrid (only the TCP and WiFi ones are),
 while not all SimGrid platform files can be used in conjunction ns-3 (routes
 must be of length 1). Also, the platform built in ns-3 from the SimGrid
-description is very basic. Finally, communicating from an host to
+description is very basic. Finally, communicating from a host to
 itself is forbidden in ns-3, so every such communication completes
 immediately upon startup.
 
@@ -182,7 +182,7 @@ WiFi network performance
 
 
 The performance of a wifi network is controlled by 3 property that can be added
-to the an host connected to the wifi zone:
+to the a host connected to the wifi zone:
 
  * ``wifi_mcs`` (`Modulation and Coding Scheme <https://en.wikipedia.org/wiki/Link_adaptation>`_)
    Roughly speaking, it defines the speed at which the access point is
index cbc0136..0b74ab5 100644 (file)
@@ -456,7 +456,7 @@ Executions on the CPU
 
   - **Using Pstates on a host:**
     This example shows how define a set of pstates in the XML. The current pstate
-    of an host can then be accessed and changed from the program.
+    of a host can then be accessed and changed from the program.
 
     .. tabs::
 
index 3d71da1..8083064 100644 (file)
@@ -31,7 +31,7 @@ void answer_free(answer_t answer)
   xbt_free(answer);
 }
 
-/** @brief Prints a answer_t, for debugging purposes */
+/** @brief Prints an answer_t, for debugging purposes */
 void answer_print(const_answer_t answer)
 {
   unsigned int cpt;
@@ -82,7 +82,7 @@ static int _answer_sort_function(const void* e1, const void* e2)
     return 1;
 }
 
-/** @brief Sorts a answer_t, by node distance.
+/** @brief Sorts an answer_t, by node distance.
  * @param answer the answer to sort
  * @param destination_id the id of the guy we are trying to find
  */
@@ -91,7 +91,7 @@ void answer_sort(const_answer_t answer)
   xbt_dynar_sort(answer->nodes, &_answer_sort_function);
 }
 
-/** @brief Trims a answer_t, in order for it to have a size of less or equal to "BUCKET_SIZE"
+/** @brief Trims an answer_t, in order for it to have a size of less or equal to "BUCKET_SIZE"
  * @param answer the answer_t to trim
  */
 void answer_trim(answer_t answer)
@@ -105,7 +105,7 @@ void answer_trim(answer_t answer)
   xbt_assert(xbt_dynar_length(answer->nodes) == answer->size, "Wrong size for the answer");
 }
 
-/** @brief Adds the content of a bucket unsigned into a answer object.
+/** @brief Adds the content of a bucket unsigned into an answer object.
  * @param bucket the bucket we have to had unsigned into
  * @param answer the answer object we're going  to put the data in
  * @param destination_id the id of the guy we are trying to find.
index da155cc..308f00a 100644 (file)
@@ -81,7 +81,7 @@ unsigned int join(node_t node, unsigned int id_known)
     }
   } while (got_answer == 0);
 
-  /* Second step: Send a FIND_NODE to a random node in buckets */
+  /* Second step: Send a FIND_NODE to a random node in buckets */
   unsigned int bucket_id = routing_table_find_bucket(node->table, id_known)->id;
   xbt_assert(bucket_id <= IDENTIFIER_SIZE);
   for (i = 0; ((bucket_id > i) || (bucket_id + i) <= IDENTIFIER_SIZE) && i < JOIN_BUCKETS_QUERIES; i++) {
index 6c5043a..c266708 100644 (file)
@@ -37,7 +37,7 @@ static void host(int argc, char* argv[])
 
   show_info(disk_count, disks);
 
-  // Open an non-existing file to create it
+  // Open a non-existing file to create it
   const char* filename = "/scratch/tmp/data.txt";
   sg_file_t file       = sg_file_open(filename, NULL);
 
index 8828107..0abd098 100644 (file)
@@ -44,7 +44,7 @@ public class Bucket {
     return nodes.get(id);
   }
 
-  /* Add the content of the bucket into a answer object. */
+  /* Add the content of the bucket into an answer object. */
   public void addToAnswer(Answer answer, int destination) {
     for (int nodeId : this.nodes) {
       answer.getNodes().add(new Contact(nodeId,nodeId ^ destination));
index a294843..9f60fb9 100644 (file)
@@ -55,7 +55,7 @@ screenshots.
 
 @subsection msg_ex_tracing_user_variables Tracing user variables
 
-You can also attach your own variables to a any resource described in
+You can also attach your own variables to any resource described in
 the platform file. The following examples illustrate this feature.
 They have to be run with the following options:
 @verbatim --cfg=tracing:yes --cfg=tracing/platform:yes
index 0dd63de..2fab32a 100644 (file)
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
 
   MSG_create_environment(argv[1]);
 
-  //declaring link user variables (one without, another with a RGB color)
+  // declaring link user variables (one without, another with an RGB color)
   TRACE_link_variable_declare("Link_Capacity");
   TRACE_link_variable_declare_with_color ("Link_Utilization", "0.9 0.1 0.1");
 
index 1a637cf..5c817a1 100644 (file)
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
 
   MSG_create_environment(argv[1]);
 
-  //declaring link user variables (one without, another with a RGB color)
+  // declaring link user variables (one without, another with an RGB color)
   TRACE_link_variable_declare("Link_Capacity");
   TRACE_link_variable_declare_with_color ("Link_Utilization", "0.9 0.1 0.1");
 
index 8a6290f..bbe546c 100644 (file)
@@ -10,7 +10,7 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(kademlia_node);
 
 namespace kademlia {
 
-/** @brief Prints a answer_t, for debugging purposes */
+/** @brief Prints an Answer, for debugging purposes */
 void Answer::print() const
 {
   XBT_INFO("Searching %08x, size %zu", destination_id_, nodes_.size());
@@ -58,9 +58,9 @@ bool Answer::destinationFound() const
   return not nodes_.empty() && nodes_.begin()->second == 0;
 }
 
-/** @brief Adds the content of a bucket unsigned into a answer object.
 * @param bucket the bucket we have to had unsigned into
 */
+/** @brief Adds the content of a bucket unsigned into an answer object.
+ * @param bucket the bucket we have to had unsigned into
+ */
 void Answer::addBucket(const Bucket* bucket)
 {
   xbt_assert((bucket != nullptr), "Provided a NULL bucket");
index c119239..86130d5 100644 (file)
@@ -55,7 +55,7 @@ bool Node::join(unsigned int known_id)
       simgrid::s4u::this_actor::sleep_for(1);
   } while (not got_answer);
 
-  /* Second step: Send a FIND_NODE to a random node in buckets */
+  /* Second step: Send a FIND_NODE to a random node in buckets */
   unsigned int bucket_id = table.findBucket(known_id)->getId();
   xbt_assert(bucket_id <= IDENTIFIER_SIZE);
   for (unsigned int i = 0; ((bucket_id > i) || (bucket_id + i) <= IDENTIFIER_SIZE) && i < JOIN_BUCKETS_QUERIES; i++) {
index 229479f..fe68255 100644 (file)
@@ -30,7 +30,7 @@ public:
 
     show_info(disks);
 
-    // Open an non-existing file to create it
+    // Open a non-existing file to create it
     std::string filename     = "/scratch/tmp/data.txt";
     auto* file               = new simgrid::s4u::File(filename, nullptr);
 
index 84c7643..e0d6ba3 100644 (file)
@@ -3,13 +3,13 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-/* This example shows how to work with the state profile of an host or a link,
+/* This example shows how to work with the state profile of a host or a link,
  * specifying when the resource must be turned on or off.
  *
  * To set such a profile, the first way is to use a file in the XML, while the second is to use the programmatic
  * interface. Once this profile is in place, the resource will automatically be turned on and off.
  *
- * The actors running on an host that is turned off are forcefully killed
+ * The actors running on a host that is turned off are forcefully killed
  * once their on_exit callbacks are executed. They cannot avoid this fate.
  * Since we specified on_failure="RESTART" for each actors in the XML file,
  * they will be automatically restarted when the host starts again.
index d55200b..fb2c1a7 100644 (file)
@@ -5,7 +5,7 @@
 
 #include "simgrid/s4u.hpp"
 
-/* This example demonstrates how to attach a profile to an host or a link,
+/* This example demonstrates how to attach a profile to a host or a link,
  * to specify external changes to the resource speed. The first way to do
  * so is to use a file in the XML, while the second is to use the programmatic interface.
  */
index 7a3447c..a030f0b 100644 (file)
@@ -215,7 +215,7 @@ class XBT_PUBLIC ForcefulKillException {
    *   simgrid::s4u::this_actor::execute(100000);
    * } catch (simgrid::kernel::context::ForcefulKillException& e) { // oops, my host just turned off
    *   free(malloc);
-   *   throw; // I shall never survive on an host that was switched off
+   *   throw; // I shall never survive on a host that was switched off
    * }
    * @endverbatim
    */
index 7a13313..a3ec541 100644 (file)
@@ -32,7 +32,7 @@ XBT_ATTRIB_DEPRECATED_v330("Please use sg_host_list()") XBT_PUBLIC xbt_dynar_t s
 XBT_PUBLIC size_t sg_host_extension_create(void (*deleter)(void*));
 XBT_PUBLIC void* sg_host_extension_get(const_sg_host_t host, size_t rank);
 
-/** Finds an host from its name */
+/** Finds a host from its name */
 XBT_PUBLIC sg_host_t sg_host_by_name(const char* name);
 
 /** @brief Return the name of the sg_host_t. */
@@ -57,13 +57,13 @@ XBT_ATTRIB_DEPRECATED_v328("Please use sg_host_data_set(h, NULL)") XBT_PUBLIC vo
 #endif
 
 // ========= storage related functions ============
-/** @brief Return the list of mount point names on an host.
+/** @brief Return the list of mount point names on a host.
  * @param host a host
  * @return a dict containing all mount point on the host (mount_name => sg_storage_t)
  */
 XBT_PUBLIC xbt_dict_t sg_host_get_mounted_storage_list(sg_host_t host);
 
-/** @brief Return the list of storages attached to an host.
+/** @brief Return the list of storages attached to a host.
  * @param host a host
  * @return a dynar containing all storages (name) attached to the host
  */
index 35a9db7..c12b8eb 100644 (file)
@@ -69,7 +69,7 @@ public:
    * Note that being permanent receivers of a mailbox prevents actors to be garbage-collected.
    * If your simulation creates many short-lived actors that marked as permanent receiver, you
    * should call mailbox->set_receiver(nullptr) by the end of the actors so that their memory gets
-   * properly reclaimed. This call should be at the end of the actor's function, not in a on_exit
+   * properly reclaimed. This call should be at the end of the actor's function, not in an on_exit
    * callback.
    */
   void set_receiver(ActorPtr actor);
index c9045ad..c64f903 100644 (file)
@@ -183,12 +183,12 @@ XBT_ATTRIB_DEPRECATED_v330("Please use a CommImpl*[] for first parameter") XBT_P
     int simcall_comm_testany(simgrid::kernel::activity::ActivityImplPtr comms[], size_t count);
 XBT_PUBLIC int simcall_comm_testany(simgrid::kernel::activity::CommImpl* comms[], size_t count);
 
-XBT_ATTRIB_DEPRECATED_v330("Please use a ActivityImpl* for first parameter") inline void simcall_comm_wait(
+XBT_ATTRIB_DEPRECATED_v330("Please use an ActivityImpl* for first parameter") inline void simcall_comm_wait(
     const simgrid::kernel::activity::ActivityImplPtr& comm, double timeout)
 {
   simcall_comm_wait(comm.get(), timeout);
 }
-XBT_ATTRIB_DEPRECATED_v330("Please use a ActivityImpl* for first parameter") inline bool simcall_comm_test(
+XBT_ATTRIB_DEPRECATED_v330("Please use an ActivityImpl* for first parameter") inline bool simcall_comm_test(
     const simgrid::kernel::activity::ActivityImplPtr& comm)
 {
   return simcall_comm_test(comm.get());
index 2bccf68..28f33ef 100644 (file)
@@ -155,7 +155,7 @@ template <class F> auto kernel_async(F code) -> Future<decltype(code().get())>
   // Execute the code in the kernel and get the kernel future:
   simgrid::kernel::Future<T> future = simgrid::kernel::actor::simcall(std::move(code));
 
-  // Wrap the kernel future in a actor future:
+  // Wrap the kernel future in an actor future:
   return simgrid::simix::Future<T>(std::move(future));
 }
 }
index 111181c..3c3c860 100644 (file)
@@ -112,7 +112,7 @@ public:
     extensions_[0]=data;
   }
   void* get_data() const { return extensions_[0]; }
-  // Convenience extension access when the type has a associated EXTENSION ID:
+  // Convenience extension access when the type has an associated EXTENSION ID:
   template <class U> U* extension() const { return extension<U>(U::EXTENSION_ID); }
   template<class U> void extension_set(U* p) { extension_set<U>(U::EXTENSION_ID, p); }
 };
index cc87669..5aef0f0 100644 (file)
@@ -17,7 +17,7 @@ namespace xbt {
 /** A `error_category` suitable to be used with `errno`
  *
  *  It is not clear which error we are supposed to generate
- *  when getting a errno:
+ *  when getting an errno:
  *
  *  * `system_error` clearly cannot be used for this on Windows;
  *
index 7c72bde..bbc270c 100644 (file)
@@ -23,7 +23,7 @@ SG_BEGIN_DECL
 #endif
 /* end of eclipse-mandated pimple */
 
-/** Returns a new java instance of an host. */
+/** Returns a new java instance of a host. */
 jobject jhost_new_instance(JNIEnv * env);
 
 /** Take a ref onto the java instance (to prevent its collection) */
index b4aae07..0fbbdaf 100644 (file)
@@ -17,11 +17,11 @@ package org.simgrid.msg;
  * platform file which describes all elements of the platform (host, link, root..).
  * You cannot create a host yourself.
  *
- * The best way to get an host instance is to call the static method
+ * The best way to get a host instance is to call the static method
  * Host.getByName().
  *
  * For example to get the instance of the host. If your platform
- * file description contains an host named "Jacquelin" :
+ * file description contains a host named "Jacquelin" :
  *
  * \verbatim
 Host jacquelin;
@@ -61,7 +61,7 @@ public class Host {
        }
 
        /**
-        * This static method gets an host instance associated with a native
+        * This static method gets a host instance associated with a native
         * host of your platform. This is the best way to get a java host object.
         *
         * @param name          The name of the host to get.
@@ -122,12 +122,12 @@ public class Host {
 
        public native String getProperty(String name);
        public native void setProperty(String name, String value);
-       /** Tests if an host is up and running. */
+       /** Tests if a host is up and running. */
        public native boolean isOn();
 
-       /** Returns the list of mount point names on an host */
+       /** Returns the list of mount point names on a host */
        public native Storage[] getMountedStorage();
-       /** This methods returns the list of storages (names) attached to an host */
+       /** This methods returns the list of storages (names) attached to a host */
        public native String[] getAttachedStorage();
 
        /** After this call, sg_host_get_consumed_energy() will not interrupt your process
index 23f1d74..0f353c7 100644 (file)
@@ -58,7 +58,7 @@ void TRACE_category(const char *category)
 /** @ingroup TRACE_category
  *  @brief Declare a new category with a color.
  *
- *  Same as #TRACE_category, but let user specify a color encoded as a RGB-like string with three floats from 0 to 1.
+ *  Same as #TRACE_category, but let user specify a color encoded as an RGB-like string with three floats from 0 to 1.
  *  So, to specify a red color, pass "1 0 0" as color parameter. A light-gray color can be specified using "0.7 0.7 0.7"
  *   as color. This function has no effect if a category with the same name has been already declared.
  *
index 25ad1a1..7619377 100644 (file)
@@ -169,10 +169,10 @@ void RoutedZone::add_route_check_params(NetPoint* src, NetPoint* dst, NetPoint*
     xbt_assert(dst, "Cannot add a route from %s to %s: %s does not exist.", srcName, dstName, dstName);
     xbt_assert(not link_list.empty(), "Empty route (between %s and %s) forbidden.", srcName, dstName);
     xbt_assert(not src->is_netzone(),
-               "When defining a route, src cannot be a netzone such as '%s'. Did you meant to have an NetzoneRoute?",
+               "When defining a route, src cannot be a netzone such as '%s'. Did you meant to have a NetzoneRoute?",
                srcName);
     xbt_assert(not dst->is_netzone(),
-               "When defining a route, dst cannot be a netzone such as '%s'. Did you meant to have an NetzoneRoute?",
+               "When defining a route, dst cannot be a netzone such as '%s'. Did you meant to have a NetzoneRoute?",
                dstName);
   } else {
     XBT_DEBUG("Load NetzoneRoute from %s@%s to %s@%s", srcName, gw_src->get_cname(), dstName, gw_dst->get_cname());
@@ -184,7 +184,7 @@ void RoutedZone::add_route_check_params(NetPoint* src, NetPoint* dst, NetPoint*
     xbt_assert(gw_dst->is_host() || gw_dst->is_router(),
                "When defining a NetzoneRoute, gw_dst must be a host or a router but '%s' is not.", dstName);
 
-    xbt_assert(gw_src != gw_dst, "Cannot define an NetzoneRoute from '%s' to itself", gw_src->get_cname());
+    xbt_assert(gw_src != gw_dst, "Cannot define a NetzoneRoute from '%s' to itself", gw_src->get_cname());
 
     xbt_assert(src, "Cannot add a route from %s@%s to %s@%s: %s does not exist.", srcName, gw_src->get_cname(), dstName,
                gw_dst->get_cname(), srcName);
index 4c64420..80f6116 100644 (file)
@@ -29,7 +29,7 @@ void WifiZone::seal()
     xbt_assert(access_point_ != nullptr, "Access point '%s' of WIFI zone '%s' does not exist: no such host or router.",
                AP_name, get_cname());
     xbt_assert(access_point_->is_host() || access_point_->is_router(),
-               "Access point '%s' of WIFI zone '%s' must be either an host or a router.", AP_name, get_cname());
+               "Access point '%s' of WIFI zone '%s' must be either a host or a router.", AP_name, get_cname());
   }
 }
 
index 0dd3710..e25e431 100644 (file)
@@ -66,7 +66,7 @@ Session::Session(const std::function<void()>& code)
              "Please use the dlopen privatization schema when model-checking SMPI code");
 #endif
 
-  // Create a AF_LOCAL socketpair used for exchanging messages
+  // Create an AF_LOCAL socketpair used for exchanging messages
   // between the model-checker process (ourselves) and the model-checked
   // process:
   int sockets[2];
index 08412d8..c18536f 100644 (file)
@@ -26,7 +26,7 @@ namespace mc {
  */
 void* ObjectInformation::base_address() const
 {
-  // For an executable (more precisely for a ET_EXEC) the base it 0:
+  // For an executable (more precisely for an ET_EXEC) the base it 0:
   if (this->executable())
     return nullptr;
 
index d910412..fee66d8 100644 (file)
@@ -380,7 +380,7 @@ static uint64_t MC_dwarf_subrange_element_count(Dwarf_Die* die, Dwarf_Die* unit)
   return upper_bound - lower_bound + 1;
 }
 
-/** @brief Finds the number of elements in a array type (DW_TAG_array_type)
+/** @brief Finds the number of elements in an array type (DW_TAG_array_type)
  *
  *  The compilation unit might be needed because the default lower
  *  bound depends on the language of the compilation unit.
index f6c291c..38ffac2 100644 (file)
@@ -9,7 +9,7 @@
 /** @file
  *  Libunwind implementation for the model-checker
  *
- *  Libunwind provides an pluggable stack unwinding API: the way the current
+ *  Libunwind provides a pluggable stack unwinding API: the way the current
  *  registers and memory is accessed, the way unwinding information is found
  *  is pluggable.
  *
index 9bf1399..b52aee4 100644 (file)
@@ -7,7 +7,7 @@
  *
  *  This file contains the MC replay/record functionality.
  *  The recorded path is written in the log output and can be replayed with MC disabled
- *  (even with an non-MC build) using `--cfg=model-check/replay:$replayPath`.
+ *  (even with a non-MC build) using `--cfg=model-check/replay:$replayPath`.
  *
  *  The same version of Simgrid should be used and the same arguments should be
  *  passed to the application (without the MC specific arguments).
@@ -27,7 +27,7 @@ namespace mc {
 
 typedef std::vector<Transition> RecordTrace;
 
-/** Convert a string representation of the path into a array of `simgrid::mc::Transition`
+/** Convert a string representation of the path into an array of `simgrid::mc::Transition`
  */
 XBT_PRIVATE RecordTrace parseRecordTrace(const char* data);
 XBT_PRIVATE std::string traceToString(simgrid::mc::RecordTrace const& trace);
index 417758d..14b8048 100644 (file)
@@ -10,7 +10,7 @@
 
 using simgrid::mc::remote;
 
-/** HACK, Statically "upcast" a s_smx_actor_t into a ActorInformation
+/** HACK, Statically "upcast" a s_smx_actor_t into an ActorInformation
  *
  *  This gets 'actorInfo' from '&actorInfo->copy'. It upcasts in the
  *  sense that we could achieve the same thing by having ActorInformation
index c99c211..f57f397 100644 (file)
@@ -58,7 +58,7 @@ public:
  *   an actor cannot have more than one enabled transition at a given time.
  */
 class ActorState {
-  /* Possible exploration status of a actor transition in a state.
+  /* Possible exploration status of an actor transition in a state.
    * Either the checker did not consider the transition, or it was considered and still to do, or considered and done.
    */
   enum class InterleavingType {
index 11d8316..0f692c1 100644 (file)
@@ -81,7 +81,7 @@ public:
   /** Get a view of the chunk indices */
   const std::size_t* pagenos() const { return pagenos_.data(); }
 
-  /** Get a pointer to a chunk */
+  /** Get a pointer to a chunk */
   void* page(std::size_t i) const { return store_->get_page(pagenos_[i]); }
 
   ChunkedData(PageStore& store, const AddressSpace& as, RemotePtr<void> addr, std::size_t page_count);
index 6dafe97..87195a5 100644 (file)
@@ -180,7 +180,7 @@ void MigrationTx::operator()()
       XBT_CRITICAL("bug");
   } catch (const Exception&) {
     // hostfailure (if you want to know whether this is the SRC or the DST check directly in send_migration_data code)
-    // Stop the dirty page tracking an return (there is no memory space to release)
+    // Stop the dirty page tracking and return (there is no memory space to release)
     sg_vm_stop_dirty_page_tracking(vm_);
     return;
   }
@@ -219,7 +219,7 @@ void MigrationTx::operator()()
       } catch (const Exception&) {
         // hostfailure (if you want to know whether this is the SRC or the DST check directly in send_migration_data
         // code)
-        // Stop the dirty page tracking an return (there is no memory space to release)
+        // Stop the dirty page tracking and return (there is no memory space to release)
         sg_vm_stop_dirty_page_tracking(vm_);
         return;
       }
@@ -262,7 +262,7 @@ void MigrationTx::operator()()
     sendMigrationData(remaining_size, 3, 0, mig_speed, -1);
   } catch (const Exception&) {
     // hostfailure (if you want to know whether this is the SRC or the DST check directly in send_migration_data code)
-    // Stop the dirty page tracking an return (there is no memory space to release)
+    // Stop the dirty page tracking and return (there is no memory space to release)
     vm_->resume();
     return;
   }
index 74d0563..f0e47bd 100644 (file)
@@ -216,7 +216,7 @@ Link* Engine::link_by_name(const std::string& name) const
   return link->second->get_iface();
 }
 
-/** @brief Find an link from its name (or nullptr if that link does not exist) */
+/** @brief Find a link from its name (or nullptr if that link does not exist) */
 Link* Engine::link_by_name_or_null(const std::string& name) const
 {
   auto link = pimpl->links_.find(name);
index ef68c79..ff0a2f6 100644 (file)
@@ -210,13 +210,13 @@ void Host::set_properties(const std::unordered_map<std::string, std::string>& pr
   kernel::actor::simcall([this, &properties] { this->pimpl_->set_properties(properties); });
 }
 
-/** Specify a profile turning the host on and off according to a exhaustive list or a stochastic law.
+/** Specify a profile turning the host on and off according to an exhaustive list or a stochastic law.
  * The profile must contain boolean values. */
 void Host::set_state_profile(kernel::profile::Profile* p)
 {
   return kernel::actor::simcall([this, p] { pimpl_cpu->set_state_profile(p); });
 }
-/** Specify a profile modeling the external load according to a exhaustive list or a stochastic law.
+/** Specify a profile modeling the external load according to an exhaustive list or a stochastic law.
  *
  * Each event of the profile represent a peak speed change that is due to external load. The values are given as a rate
  * of the initial value. This means that the actual value is obtained by multiplying the initial value (the peek speed
index 102acfd..d57878b 100644 (file)
@@ -67,7 +67,7 @@ static inline SD_task_t SD_task_create_sized(const char *name, void *data, doubl
   return task;
 }
 
-/** @brief create a end-to-end communication task that can then be auto-scheduled
+/** @brief create an end-to-end communication task that can then be auto-scheduled
  *
  * Auto-scheduling mean that the task can be used with SD_task_schedulev(). This allows one to specify the task costs at
  * creation, and decouple them from the scheduling process where you just specify which resource should deliver the
index 6a213c0..d4d9b10 100644 (file)
@@ -382,7 +382,7 @@ int colls::scan(const void* sendbuf, void* recvbuf, int count, MPI_Datatype data
         break;
       }
       if(index < rank) {
-        // #Request is below rank: it's a irecv
+        // #Request is below rank: it's an irecv
         op->apply( tmpbufs[index], recvbuf, &count, datatype);
       }
     }
@@ -444,7 +444,7 @@ int colls::exscan(const void* sendbuf, void* recvbuf, int count, MPI_Datatype da
           Datatype::copy(tmpbufs[index], count, datatype, recvbuf, count, datatype);
           recvbuf_is_empty=0;
         } else
-          // #Request is below rank: it's a irecv
+          // #Request is below rank: it's an irecv
           op->apply( tmpbufs[index], recvbuf, &count, datatype);
       }
     }
index 20c1c6f..de6b532 100644 (file)
@@ -658,9 +658,9 @@ MPI_Barrier
 
 */
 static int intel_barrier_gather_scatter(MPI_Comm comm){
-    //our default barrier performs a antibcast/bcast
-    barrier__default(comm);
-    return MPI_SUCCESS;
+  // our default barrier performs an antibcast/bcast
+  barrier__default(comm);
+  return MPI_SUCCESS;
 }
 
 int (*intel_barrier_functions_table[])(MPI_Comm comm) ={
index 1f10512..c5bd2a0 100644 (file)
@@ -144,7 +144,7 @@ void smpi_bench_end()
 
   if (smpi_process()->sampling()) {
     XBT_CRITICAL("Cannot do recursive benchmarks.");
-    XBT_CRITICAL("Are you trying to make a call to MPI within a SMPI_SAMPLE_ block?");
+    XBT_CRITICAL("Are you trying to make a call to MPI within an SMPI_SAMPLE_ block?");
     xbt_backtrace_display_current();
     xbt_die("Aborting.");
   }
index 306ab9a..c23f535 100644 (file)
@@ -44,7 +44,7 @@ using simgrid::smpi::app::Instance;
 static std::map<std::string, Instance> smpi_instances;
 
 /** @ingroup smpi_simulation
- * @brief Registers a running instance of a MPI program.
+ * @brief Registers a running instance of an MPI program.
  *
  * @param name the reference name of the function.
  * @param code either the main mpi function
index 501f015..794d88e 100644 (file)
@@ -176,7 +176,7 @@ void* smpi_temp_shm_mmap(int fd, size_t size)
   return mem;
 }
 
-/** Map a given SMPI privatization segment (make a SMPI process active)
+/** Map a given SMPI privatization segment (make an SMPI process active)
  *
  *  When doing a state restoration, the state of the restored variables  might not be consistent with the state of the
  *  virtual memory. In this case, we to change the data segment.
index f2cf41d..9bdb30a 100644 (file)
@@ -410,7 +410,7 @@ void WaitAction::kernel(simgrid::xbt::ReplayAction& action)
   req_storage.remove(request);
 
   if (request == MPI_REQUEST_NULL) {
-    /* Assume that the trace is well formed, meaning the comm might have been caught by a MPI_test. Then just
+    /* Assume that the trace is well formed, meaning the comm might have been caught by an MPI_test. Then just
      * return.*/
     return;
   }
index f75b5c6..1106b4c 100644 (file)
@@ -40,7 +40,7 @@ public:
  ************/
 /** @ingroup SURF_host_interface
  * @brief SURF Host interface class
- * @details An host represents a machine with a aggregation of a Cpu, a RoutingEdge and a Storage
+ * @details A host represents a machine with an aggregation of a Cpu, a RoutingEdge and a Storage
  */
 class XBT_PRIVATE HostImpl : public xbt::PropertyHolder {
   std::vector<kernel::actor::ProcessArg*> actors_at_boot_;
index c6ebfc3..38919c1 100644 (file)
@@ -465,7 +465,7 @@ NetworkNS3Action::NetworkNS3Action(Model* model, double totalBytes, s4u::Host* s
   if (src == dst) {
     static bool warned = false;
     if (not warned) {
-      XBT_WARN("Sending from an host %s to itself is not supported by ns-3. Every such communication finishes "
+      XBT_WARN("Sending from a host %s to itself is not supported by ns-3. Every such communication finishes "
                "immediately upon startup.",
                src->get_cname());
       warned = true;
index 5216e3c..9170f1d 100644 (file)
@@ -126,7 +126,7 @@ double surf_get_clock()
   return NOW;
 }
 
-/* returns whether #file_path is a absolute file path. Surprising, isn't it ? */
+/* returns whether #file_path is an absolute file path. Surprising, isn't it ? */
 static bool is_absolute_file_path(const std::string& file_path)
 {
 #ifdef _WIN32
index b9dbf57..389fb73 100644 (file)
@@ -14,7 +14,7 @@ To upgrade your files, use the tool simgrid_update_xml
 * New in DTD version 4.1 (in SimGrid 3.16): backward compatible change (v4 files are valid v4.1 files)
    - <zone> can be used as a synonym for the now deprecated <as>
    - <zoneRoute> can be used as a synonym for the now deprecated <asroute>
-   - <bypassZoneRoute> an be used as a synonym for the now deprecated <bypassAsRoute>
+   - <bypassZoneRoute> can be used as a synonym for the now deprecated <bypassAsRoute>
    - <actor> can be used as a synonym for the now deprecated <process>
   Other backward-compatible changes for which we did not bump the DTD version.
   - SPLITDUPLEX is the new spelling of the deprecated FULLDUPLEX (SimGrid v3.19)
index 90d911c..95e99d3 100644 (file)
@@ -9441,7 +9441,7 @@ FAIL("Premature EOF: `</peer>' expected.");
   * * New in DTD version 4.1 (in SimGrid 3.16): backward compatible change (v4 files are valid v4.1 files)
   *    - <zone> can be used as a synonym for the now deprecated <as>
   *    - <zoneRoute> can be used as a synonym for the now deprecated <asroute>
-  *    - <bypassZoneRoute> an be used as a synonym for the now deprecated <bypassAsRoute>
+  *    - <bypassZoneRoute> can be used as a synonym for the now deprecated <bypassAsRoute>
   *    - <actor> can be used as a synonym for the now deprecated <process>
   *   Other backward-compatible changes for which we did not bump the DTD version.
   *   - SPLITDUPLEX is the new spelling of the deprecated FULLDUPLEX (SimGrid v3.19)
index 3dfe275..9801b9b 100644 (file)
@@ -101,13 +101,13 @@ void xbt_graph_node_set_data(xbt_node_t node, void *data)
   node->data = data;
 }
 
-/** @brief Get the user data associated to a edge */
+/** @brief Get the user data associated to an edge */
 void* xbt_graph_edge_get_data(const s_xbt_edge_t* edge)
 {
   return edge->data;
 }
 
-/** @brief Set the user data associated to a edge */
+/** @brief Set the user data associated to an edge */
 void xbt_graph_edge_set_data(xbt_edge_t edge, void *data)
 {
   edge->data = data;
index 44d6fb2..0d7e342 100644 (file)
@@ -75,7 +75,7 @@ std::vector<VmMap> get_memory_map(pid_t pid)
 
   /*
    * Darwin do not give us the number of mappings, so we read entries until
-   * we get an KERN_INVALID_ADDRESS return.
+   * we get a KERN_INVALID_ADDRESS return.
    */
   mach_vm_address_t address = VM_MIN_ADDRESS;
   while (true) {
index 8fa77c3..22dd0d5 100644 (file)
@@ -96,7 +96,7 @@ xbt_mheap_t xbt_mheap_new_options(int fd, void *baseaddr, int options)
       return (NULL);
 
     else if (sbuf.st_size > 0) {
-      /* We were given an valid file descriptor on an open file, so try to remap
+      /* We were given a valid file descriptor on an open file, so try to remap
          it into the current process at the same address to which it was previously
          mapped. It naturally have to pass some sanity checks for that.
 
index 9d8ee9a..19d3951 100644 (file)
@@ -11,7 +11,7 @@ TEST_CASE("Activity lifecycle: exec activities")
 
   BEGIN_SECTION("exec")
   {
-    XBT_INFO("Launch a execute(5s), and let it proceed");
+    XBT_INFO("Launch an execute(5s), and let it proceed");
     bool global = false;
 
     simgrid::s4u::ActorPtr exec5 = simgrid::s4u::Actor::create("exec5", all_hosts[1], [&global]() {
@@ -29,7 +29,7 @@ TEST_CASE("Activity lifecycle: exec activities")
 
   BEGIN_SECTION("exec killed at start")
   {
-    XBT_INFO("Launch a execute(5s), and kill it right after start");
+    XBT_INFO("Launch an execute(5s), and kill it right after start");
     simgrid::s4u::ActorPtr exec5 = simgrid::s4u::Actor::create("exec5_killed", all_hosts[1], []() {
       assert_exit(false, 0);
       simgrid::s4u::this_actor::execute(500000000);
@@ -44,7 +44,7 @@ TEST_CASE("Activity lifecycle: exec activities")
 
   BEGIN_SECTION("exec killed in middle")
   {
-    XBT_INFO("Launch a execute(5s), and kill it after 2 secs");
+    XBT_INFO("Launch an execute(5s), and kill it after 2 secs");
     simgrid::s4u::ActorPtr exec5 = simgrid::s4u::Actor::create("exec5_killed", all_hosts[1], []() {
       assert_exit(false, 2);
       simgrid::s4u::this_actor::execute(500000000);
@@ -59,7 +59,7 @@ TEST_CASE("Activity lifecycle: exec activities")
 
   BEGIN_SECTION("exec restarted at start")
   {
-    XBT_INFO("Launch a execute(5s), and restart its host right after start");
+    XBT_INFO("Launch an execute(5s), and restart its host right after start");
     simgrid::s4u::ActorPtr exec5 = simgrid::s4u::Actor::create("exec5_restarted", all_hosts[1], []() {
       assert_exit(false, 0);
       simgrid::s4u::this_actor::execute(500000000);
@@ -75,7 +75,7 @@ TEST_CASE("Activity lifecycle: exec activities")
 
   BEGIN_SECTION("exec restarted in middle")
   {
-    XBT_INFO("Launch a execute(5s), and restart its host after 2 secs");
+    XBT_INFO("Launch an execute(5s), and restart its host after 2 secs");
     simgrid::s4u::ActorPtr exec5 = simgrid::s4u::Actor::create("exec5_restarted", all_hosts[1], []() {
       assert_exit(false, 2);
       simgrid::s4u::this_actor::execute(500000000);
@@ -91,7 +91,7 @@ TEST_CASE("Activity lifecycle: exec activities")
 
   BEGIN_SECTION("exec restarted at end")
   {
-    XBT_INFO("Launch a execute(5s), and restart its host right when it stops");
+    XBT_INFO("Launch an execute(5s), and restart its host right when it stops");
     bool execution_done = false;
 
     simgrid::s4u::Actor::create("exec5_restarted", all_hosts[1], [&execution_done]() {
index 2e032a2..74c6da6 100644 (file)
@@ -3,6 +3,6 @@ p We just want to check that the ns-3 bindings of SimGrid are working correctly,
 
 $ ./ns3-from-src-to-itself ${platfdir}/ns3-big-cluster.xml --cfg=network/model:ns-3 "--log=root.fmt:[%h:%P(%i)]%e[%c/%p]%e%m%n"
 > [:maestro(0)] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'ns-3'
-> [:maestro(0)] [ns3/WARNING] Sending from an host c-01.rennes to itself is not supported by ns-3. Every such communication finishes immediately upon startup.
+> [:maestro(0)] [ns3/WARNING] Sending from a host c-01.rennes to itself is not supported by ns-3. Every such communication finishes immediately upon startup.
 > [c-01.rennes:receiver(1)] [s4u_test/INFO] Done receiving from 2 senders, each of them sending 5 messages
 
index ccaa385..ffcd99d 100755 (executable)
@@ -22,7 +22,7 @@
 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#  git pre-commit hook that runs an clang-format stylecheck.
+#  git pre-commit hook that runs a clang-format stylecheck.
 #  Features:
 #   - abort commit when commit does not comply with the style guidelines
 #   - create a patch of the proposed style changes