Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove more occurences of 'surf' with uppercases
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 19 Feb 2023 21:34:31 +0000 (22:34 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 19 Feb 2023 21:34:31 +0000 (22:34 +0100)
31 files changed:
examples/platforms/storage/content/storage_content.txt
include/simgrid/kernel/resource/Model.hpp
include/simgrid/kernel/routing/DijkstraZone.hpp
include/simgrid/kernel/routing/DragonflyZone.hpp
include/simgrid/kernel/routing/EmptyZone.hpp
include/simgrid/kernel/routing/FloydZone.hpp
include/simgrid/kernel/routing/TorusZone.hpp
include/simgrid/kernel/routing/VivaldiZone.hpp
src/kernel/EngineImpl.cpp
src/kernel/activity/CommImpl.hpp
src/kernel/lmm/System.cpp
src/kernel/lmm/System.hpp
src/kernel/resource/CpuImpl.hpp
src/kernel/resource/HostImpl.hpp
src/kernel/resource/NetworkModel.hpp
src/kernel/resource/Resource.hpp
src/kernel/resource/SplitDuplexLinkImpl.hpp
src/kernel/resource/VirtualMachineImpl.hpp
src/kernel/resource/WifiLinkImpl.hpp
src/kernel/resource/models/cpu_cas01.hpp
src/kernel/resource/models/cpu_ti.hpp
src/kernel/resource/models/network_cm02.hpp
src/kernel/resource/models/network_ib.hpp
src/kernel/routing/NetZoneImpl.cpp
src/kernel/xml/platf.hpp
src/mc/remote/AppSide.cpp
src/plugins/host_dvfs.cpp
src/simgrid/math_utils.h
src/xbt/xbt_modinter.h
teshsuite/models/core_usage/core_usage.cpp
teshsuite/models/core_usage/core_usage.tesh

index bd76cbf..a8e0268 100644 (file)
 /doc/simgrid/html/MSG_ex_master_slave_lua_bypass.html 4803
 /doc/simgrid/html/simgrid_modules2.png  11932
 /doc/simgrid/html/classsimgrid_1_1msg_1_1Msg.html 1519
-/doc/simgrid/html/group__SURF__actions.html  13562
+/doc/simgrid/html/group__SIMGRID__actions.html  13562
 /doc/simgrid/html/publis_intra.html  435
 /doc/simgrid/html/simgrid_logo_small.png  8326
-/doc/simgrid/html/group__SURF__resources.html  4203
+/doc/simgrid/html/group__SIMGRID__resources.html  4203
 /doc/simgrid/html/structsimgrid__cpu__model__extension__public.html  2751
 /doc/simgrid/html/tabs.css 1095
 /doc/simgrid/html/group__XBT__set.html  6991
 /doc/simgrid/html/index.html 9659
 /doc/simgrid/html/group__SD__link__management.html 17867
 /doc/simgrid/html/group__MSG__JAVA.html  5443
-/doc/simgrid/html/group__SURF__simulation.html 10385
+/doc/simgrid/html/group__SIMGRID__simulation.html 10385
 /doc/simgrid/html/structm__host.html  4188
 /doc/simgrid/html/group__XBT__dynar__array.html 22436
 /doc/simgrid/html/simgrid.css 386
 /doc/simgrid/html/win_install_04.png  52033
 /doc/simgrid/html/structsimgrid__action.html  8353
 /doc/simgrid/html/group__XBT__ex.html  32537
-/doc/simgrid/html/group__SURF__API.html  6659
+/doc/simgrid/html/group__SIMGRID__API.html  6659
 /doc/simgrid/html/doxygen.css 12350
 /doc/simgrid/html/group__XBT__set__cons.html  7965
-/doc/simgrid/html/group__SURF__build__api.html 7821
+/doc/simgrid/html/group__SIMGRID__build__api.html 7821
 /doc/simgrid/html/group__m__process__management.html 47169
 /doc/simgrid/html/group__XBT__dict__curs.html  19747
 /doc/simgrid/html/group__SD__datatypes__management.html  20816
index c5c09e4..87f8eee 100644 (file)
@@ -14,10 +14,6 @@ namespace simgrid {
 namespace kernel {
 namespace resource {
 
-/** @ingroup SURF_interface
- * @brief SURF model interface class
- * @details A model is an object which handle the interactions between its Resources and its Actions
- */
 class XBT_PUBLIC Model {
 public:
   /** @brief Possible update mechanisms */
index 0c21c5b..fa4c176 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_ROUTING_DIJKSTRA_HPP_
-#define SURF_ROUTING_DIJKSTRA_HPP_
+#ifndef SIMGRID_ROUTING_DIJKSTRA_HPP_
+#define SIMGRID_ROUTING_DIJKSTRA_HPP_
 
 #include <simgrid/kernel/routing/RoutedZone.hpp>
 
@@ -57,4 +57,4 @@ public:
 } // namespace kernel
 } // namespace simgrid
 
-#endif /* SURF_ROUTING_DIJKSTRA_HPP_ */
+#endif /* SIMGRID_ROUTING_DIJKSTRA_HPP_ */
index 1dbb3d2..558af8d 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_ROUTING_CLUSTER_DRAGONFLY_HPP_
-#define SURF_ROUTING_CLUSTER_DRAGONFLY_HPP_
+#ifndef SIMGRID_ROUTING_CLUSTER_DRAGONFLY_HPP_
+#define SIMGRID_ROUTING_CLUSTER_DRAGONFLY_HPP_
 
 #include <simgrid/kernel/routing/ClusterZone.hpp>
 #include <simgrid/s4u/Link.hpp>
index c5ca447..7240493 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_ROUTING_NONE_HPP_
-#define SURF_ROUTING_NONE_HPP_
+#ifndef SIMGRID_ROUTING_NONE_HPP_
+#define SIMGRID_ROUTING_NONE_HPP_
 
 #include <simgrid/kernel/routing/NetZoneImpl.hpp>
 #include <xbt/asserts.h>
@@ -36,4 +36,4 @@ public:
 } // namespace kernel
 } // namespace simgrid
 
-#endif /* SURF_ROUTING_NONE_HPP_ */
+#endif /* SIMGRID_ROUTING_NONE_HPP_ */
index 3cc7963..a384746 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_ROUTING_FLOYD_HPP_
-#define SURF_ROUTING_FLOYD_HPP_
+#ifndef SIMGRID_ROUTING_FLOYD_HPP_
+#define SIMGRID_ROUTING_FLOYD_HPP_
 
 #include <simgrid/kernel/routing/RoutedZone.hpp>
 
@@ -43,4 +43,4 @@ public:
 } // namespace kernel
 } // namespace simgrid
 
-#endif /* SURF_ROUTING_FLOYD_HPP_ */
+#endif /* SIMGRID_ROUTING_FLOYD_HPP_ */
index 13ead15..af661d3 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_ROUTING_CLUSTER_TORUS_HPP_
-#define SURF_ROUTING_CLUSTER_TORUS_HPP_
+#ifndef SIMGRID_ROUTING_CLUSTER_TORUS_HPP_
+#define SIMGRID_ROUTING_CLUSTER_TORUS_HPP_
 
 #include <simgrid/kernel/routing/ClusterZone.hpp>
 
index d2e85f4..0af8f0e 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_ROUTING_VIVALDI_HPP_
-#define SURF_ROUTING_VIVALDI_HPP_
+#ifndef SIMGRID_ROUTING_VIVALDI_HPP_
+#define SIMGRID_ROUTING_VIVALDI_HPP_
 
 #include <simgrid/kernel/routing/StarZone.hpp>
 #include <xbt/Extendable.hpp>
@@ -64,4 +64,4 @@ public:
 } // namespace kernel
 } // namespace simgrid
 
-#endif /* SURF_ROUTING_VIVALDI_HPP_ */
+#endif /* SIMGRID_ROUTING_VIVALDI_HPP_ */
index 092c697..1547836 100644 (file)
@@ -185,7 +185,7 @@ void EngineImpl::initialize(int* argc, char** argv)
 
   install_signal_handlers();
 
-  /* register a function to be called by SURF after the environment creation */
+  /* register a function to be called after the environment creation */
   s4u::Engine::on_platform_created_cb([this]() { this->presolve(); });
 
   if (config::get_value<bool>("debug/clean-atexit"))
@@ -342,7 +342,7 @@ void EngineImpl::add_model(std::shared_ptr<resource::Model> model, const std::ve
   models_prio_[model_name] = std::move(model);
 }
 
-/** Wake up all actors waiting for a Surf action to finish */
+/** Wake up all actors waiting for an action to finish */
 void EngineImpl::handle_ended_actions() const
 {
   for (auto const& model : models_) {
index 8e18d1e..c2758ab 100644 (file)
@@ -79,9 +79,9 @@ looking if a given communication matches my needs. For that, myself must match t
 expectations of the other side, too. See  */
   std::function<void(CommImpl*, void*, size_t)> copy_data_fun;
 
-  /* Surf action data */
-  resource::Action* src_timeout_ = nullptr; /* Surf's actions to instrument the timeouts */
-  resource::Action* dst_timeout_ = nullptr; /* Surf's actions to instrument the timeouts */
+  /* Model actions */
+  resource::Action* src_timeout_ = nullptr; /* represents the timeout set by the sender */
+  resource::Action* dst_timeout_ = nullptr; /* represents the timeout set by the receiver */
   actor::ActorImplPtr src_actor_ = nullptr;
   actor::ActorImplPtr dst_actor_ = nullptr;
 
index a0f0b2a..75eb88a 100644 (file)
@@ -95,7 +95,7 @@ void System::validate_solver(const std::string& solver_name)
 
 void System::check_concurrency() const
 {
-  // These checks are very expensive, so do them only if we want to debug SURF LMM
+  // These checks are very expensive, so do them only if we want to debug the LMM
   if (not XBT_LOG_ISENABLED(ker_lmm, xbt_log_priority_debug))
     return;
 
index e719693..bfbe7d2 100644 (file)
@@ -25,7 +25,7 @@ XBT_PUBLIC_DATA int sg_concurrency_limit;
 
 namespace simgrid::kernel::lmm {
 
-/** @addtogroup SURF_lmm
+/** @addtogroup Model_lmm
  * @details
  * A linear maxmin solver to resolve inequations systems.
  *
@@ -135,7 +135,7 @@ namespace simgrid::kernel::lmm {
  * At the current state, each variable counts as 1 if its consumption weight is greater than 1.
  */
 
-/** @{ @ingroup SURF_lmm */
+/** @{ @ingroup Model_lmm */
 
 /**
  * @brief LMM element
@@ -245,7 +245,7 @@ public:
   int get_concurrency_maximum() const
   {
     xbt_assert(concurrency_limit_ < 0 || concurrency_maximum_ <= concurrency_limit_,
-               "Very bad: maximum observed concurrency is higher than limit. This is a bug of SURF, please report it.");
+               "Very bad: maximum observed concurrency is higher than limit. This is a bug, please report it.");
     return concurrency_maximum_;
   }
 
index 0a80841..af08d0c 100644 (file)
@@ -171,7 +171,7 @@ protected:
  * Action *
  **********/
 
-/** @ingroup SURF_cpu_interface
+/** @ingroup Model_cpu_interface
  * @brief A CpuAction represents the execution of code on one or several Cpus
  */
 class XBT_PUBLIC CpuAction : public Action {
index eda907d..0de2d0b 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_HOST_INTERFACE_HPP
-#define SURF_HOST_INTERFACE_HPP
+#ifndef SIMGRID_KERNEL_HOST_INTERFACE_HPP
+#define SIMGRID_KERNEL_HOST_INTERFACE_HPP
 
 #include "src/kernel/actor/ActorImpl.hpp"
 #include "src/kernel/resource/CpuImpl.hpp"
@@ -18,8 +18,8 @@ namespace simgrid::kernel::resource {
  * Model *
  *********/
 
-/** @ingroup SURF_host_interface
- * @brief SURF Host model interface class
+/** @ingroup Model_host_interface
+ * @brief Host model interface class
  * @details A model is an object which handle the interactions between its Resources and its Actions
  */
 class XBT_PRIVATE HostModel : public Model {
@@ -36,8 +36,8 @@ public:
 /************
  * Resource *
  ************/
-/** @ingroup SURF_host_interface
- * @brief SURF Host interface class
+/** @ingroup Model_host_interface
+ * @brief Host interface class
  * @details A host represents a machine with an aggregation of a Cpu, a RoutingEdge and Disk(s)
  */
 class XBT_PRIVATE HostImpl : public xbt::PropertyHolder, public actor::ObjectAccessSimcallItem {
index 9963ff9..3508777 100644 (file)
@@ -18,8 +18,8 @@ namespace simgrid::kernel::resource {
  * Model *
  *********/
 
-/** @ingroup SURF_network_interface
- * @brief SURF network model interface class
+/** @ingroup Model_network_interface
+ * @brief Network model interface class
  * @details A model is an object which handles the interactions between its Resources and its Actions
  */
 class NetworkModel : public Model, public NetworkModelFactors {
@@ -63,8 +63,8 @@ public:
 /**********
  * Action *
  **********/
-/** @ingroup SURF_network_interface
- * @brief SURF network action interface class
+/** @ingroup Model_network_interface
+ * @brief Network action interface class
  * @details A NetworkAction represents a communication between two [hosts](@ref HostImpl)
  */
 class NetworkAction : public Action {
index 0f5bda2..bf67c6a 100644 (file)
@@ -20,8 +20,8 @@
 
 namespace simgrid::kernel::resource {
 
-/** @ingroup SURF_interface
- * @brief SURF resource interface class
+/** @ingroup Model_interface
+ * @brief Resource interface class
  * @details This is the ancestor class of every resources in SimGrid, such as links, CPU or disk
  */
 class XBT_PUBLIC Resource : public actor::ObjectAccessSimcallItem {
index 8708018..dc574f7 100644 (file)
@@ -14,8 +14,8 @@ namespace simgrid::kernel::resource {
 /************
  * Resource *
  ************/
-/** @ingroup SURF_network_interface
- * @brief SURF network link interface class
+/** @ingroup Model_network_interface
+ * @brief Network link interface class
  * @details A Link represents the link between two [hosts](@ref HostImpl)
  */
 class SplitDuplexLinkImpl : public LinkImpl {
index 1b8882b..8d51c7d 100644 (file)
@@ -83,8 +83,8 @@ private:
 /*********
  * Model *
  *********/
-/** @ingroup SURF_vm_interface
- * @brief SURF VM model interface class
+/** @ingroup Model_vm_interface
+ * @brief VM model interface class
  * @details A model is an object which handle the interactions between its Resources and its Actions
  */
 class XBT_PRIVATE VMModel : public HostModel {
index 95d82e9..cd08f6d 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_NETWORK_WIFI_HPP_
-#define SURF_NETWORK_WIFI_HPP_
+#ifndef SIMGRID_KERNEL_NETWORK_WIFI_HPP_
+#define SIMGRID_KERNEL_NETWORK_WIFI_HPP_
 
 #include "src/kernel/resource/models/network_cm02.hpp"
 #include "xbt/ex.h"
index a5e7782..b1cc67b 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SIMGRID_SURF_CPUCAS01_HPP
-#define SIMGRID_SURF_CPUCAS01_HPP
+#ifndef SIMGRID_MODEL_CPU_CAS01_HPP
+#define SIMGRID_MODEL_CPU_CAS01_HPP
 
 #include "src/kernel/resource/CpuImpl.hpp"
 
index cf63536..214013f 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_MODEL_CPUTI_HPP_
-#define SURF_MODEL_CPUTI_HPP_
+#ifndef SIMGRID_MODEL_CPUTI_HPP_
+#define SIMGRID_MODEL_CPUTI_HPP_
 
 #include "src/kernel/resource/CpuImpl.hpp"
 #include "src/kernel/resource/profile/Profile.hpp"
@@ -155,4 +155,4 @@ public:
 
 } // namespace simgrid::kernel::resource
 
-#endif /* SURF_MODEL_CPUTI_HPP_ */
+#endif /* SIMGRID_MODEL_CPUTI_HPP_ */
index 610d26c..2b8ed4d 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_NETWORK_CM02_HPP_
-#define SURF_NETWORK_CM02_HPP_
+#ifndef SIMGRID_MODEL_NETWORK_CM02_HPP_
+#define SIMGRID_MODEL_NETWORK_CM02_HPP_
 
 #include "src/kernel/resource/NetworkModel.hpp"
 #include "src/kernel/resource/StandardLinkImpl.hpp"
@@ -76,4 +76,4 @@ public:
   void update_remains_lazy(double now) override;
 };
 } // namespace simgrid::kernel::resource
-#endif /* SURF_NETWORK_CM02_HPP_ */
+#endif /* SIMGRID_MODEL_NETWORK_CM02_HPP_ */
index a720c94..38798b1 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_NETWORK_IB_HPP_
-#define SURF_NETWORK_IB_HPP_
+#ifndef SIMGRID_MODEL_NETWORK_IB_HPP_
+#define SIMGRID_MODEL_NETWORK_IB_HPP_
 
 #include "src/kernel/resource/models/network_cm02.hpp"
 
index b95021b..9030233 100644 (file)
@@ -595,7 +595,7 @@ void NetZoneImpl::get_global_route_with_netzones(const NetPoint* src, const NetP
     return;
 
   /* If src and dst are in the same netzone, life is good */
-  if (src_ancestor == dst_ancestor) { /* SURF_ROUTING_BASE */
+  if (src_ancestor == dst_ancestor) { /* ROUTING_BASE */
     route.link_list_ = std::move(links);
     common_ancestor->get_local_route(src, dst, &route, latency);
     links = std::move(route.link_list_);
index 5d07714..79374c1 100644 (file)
@@ -3,8 +3,8 @@
 /* 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. */
 
-#ifndef SURF_SURFXML_PARSE_HPP
-#define SURF_SURFXML_PARSE_HPP
+#ifndef SIMGRID_KERNEL_XML_PARSE_HPP
+#define SIMGRID_KERNEL_XML_PARSE_HPP
 
 #include <xbt/base.h>
 #include <xbt/signal.hpp>
index e4d6af6..b03efac 100644 (file)
@@ -17,7 +17,6 @@
 #endif
 #include "src/sthread/sthread.h"
 #include "src/xbt/coverage.h"
-#include "src/xbt/xbt_modinter.h" /* mmalloc_preinit to get the default mmalloc arena address */
 #include "xbt/str.h"
 #include <simgrid/modelchecker.h>
 
index f899233..0a5ac58 100644 (file)
@@ -59,12 +59,6 @@ static simgrid::config::Flag<int>
     cfg_max_pstate("plugin/dvfs/max-pstate",
                    "Which pstate is the maximum (and hence slowest) pstate for this governor?", MAX_PSTATE_NOT_LIMITED);
 
-/** @addtogroup SURF_plugin_load
-
-  This plugin makes it very simple for users to obtain the current load for each host.
-
-*/
-
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(host_dvfs, kernel, "Logging specific to the HostDvfs plugin");
 
 namespace simgrid::plugin::dvfs {
index 7978f16..84aa9d4 100644 (file)
@@ -36,4 +36,4 @@ static inline int double_equals(double value1, double value2, double precision)
   return (fabs(value1 - value2) < precision);
 }
 
-#endif /* SURF_MODEL_H_ */
+#endif /* SIMGRID_MATH_UTILS_H_ */
index 7b1ce7c..6eee62f 100644 (file)
@@ -7,7 +7,6 @@
 
 #ifndef XBT_MODINTER_H
 #define XBT_MODINTER_H
-#include "src/xbt/mmalloc/mmalloc.h"
 #include "xbt/misc.h"
 
 SG_BEGIN_DECL
index a7388e0..a2948c7 100644 (file)
@@ -20,15 +20,15 @@ static const char* string_action(simgrid::kernel::resource::Action::State state)
 {
   switch (state) {
     case simgrid::kernel::resource::Action::State::INITED:
-      return "SURF_ACTION_INITED";
+      return "ACTION_INITED";
     case simgrid::kernel::resource::Action::State::STARTED:
-      return "SURF_ACTION_RUNNING";
+      return "ACTION_RUNNING";
     case simgrid::kernel::resource::Action::State::FAILED:
-      return "SURF_ACTION_FAILED";
+      return "ACTION_FAILED";
     case simgrid::kernel::resource::Action::State::FINISHED:
-      return "SURF_ACTION_DONE";
+      return "ACTION_DONE";
     case simgrid::kernel::resource::Action::State::IGNORED:
-      return "SURF_ACTION_IGNORED";
+      return "ACTION_IGNORED";
     default:
       return "INVALID STATE";
   }
index 6fc4741..4c286bd 100644 (file)
@@ -3,9 +3,9 @@
 $ ${bindir:=.}/core_usage ${platfdir}/two_hosts_profiles.xml
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu/model' to 'Cas01'
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'CM02'
-> [0.000000] [core_usage/INFO] actionA state: SURF_ACTION_RUNNING
-> [0.000000] [core_usage/INFO] actionB state: SURF_ACTION_RUNNING
-> [0.000000] [core_usage/INFO] actionC state: SURF_ACTION_RUNNING
+> [0.000000] [core_usage/INFO] actionA state: ACTION_RUNNING
+> [0.000000] [core_usage/INFO] actionB state: ACTION_RUNNING
+> [0.000000] [core_usage/INFO] actionC state: ACTION_RUNNING
 > [0.200000] [core_usage/INFO] Next Event : 0.2
 > [0.200016] [core_usage/INFO] Next Event : 0.200016
 > [0.200016] [core_usage/INFO]    Network Done action