/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
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 */
/* 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>
} // namespace kernel
} // namespace simgrid
-#endif /* SURF_ROUTING_DIJKSTRA_HPP_ */
+#endif /* SIMGRID_ROUTING_DIJKSTRA_HPP_ */
/* 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>
/* 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>
} // namespace kernel
} // namespace simgrid
-#endif /* SURF_ROUTING_NONE_HPP_ */
+#endif /* SIMGRID_ROUTING_NONE_HPP_ */
/* 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>
} // namespace kernel
} // namespace simgrid
-#endif /* SURF_ROUTING_FLOYD_HPP_ */
+#endif /* SIMGRID_ROUTING_FLOYD_HPP_ */
/* 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>
/* 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>
} // namespace kernel
} // namespace simgrid
-#endif /* SURF_ROUTING_VIVALDI_HPP_ */
+#endif /* SIMGRID_ROUTING_VIVALDI_HPP_ */
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"))
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_) {
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;
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;
namespace simgrid::kernel::lmm {
-/** @addtogroup SURF_lmm
+/** @addtogroup Model_lmm
* @details
* A linear maxmin solver to resolve inequations systems.
*
* 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
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_;
}
* 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 {
/* 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"
* 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 {
/************
* 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 {
* 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 {
/**********
* 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 {
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 {
/************
* 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 {
/*********
* 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 {
/* 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"
/* 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"
/* 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"
} // namespace simgrid::kernel::resource
-#endif /* SURF_MODEL_CPUTI_HPP_ */
+#endif /* SIMGRID_MODEL_CPUTI_HPP_ */
/* 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"
void update_remains_lazy(double now) override;
};
} // namespace simgrid::kernel::resource
-#endif /* SURF_NETWORK_CM02_HPP_ */
+#endif /* SIMGRID_MODEL_NETWORK_CM02_HPP_ */
/* 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"
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_);
/* 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>
#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>
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 {
return (fabs(value1 - value2) < precision);
}
-#endif /* SURF_MODEL_H_ */
+#endif /* SIMGRID_MATH_UTILS_H_ */
#ifndef XBT_MODINTER_H
#define XBT_MODINTER_H
-#include "src/xbt/mmalloc/mmalloc.h"
#include "xbt/misc.h"
SG_BEGIN_DECL
{
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";
}
$ ${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