A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename the plugins from the command line, and document it
[simgrid.git]
/
src
/
s4u
/
s4u_Netzone.cpp
diff --git
a/src/s4u/s4u_Netzone.cpp
b/src/s4u/s4u_Netzone.cpp
index
e62b0af
..
da67bc6
100644
(file)
--- a/
src/s4u/s4u_Netzone.cpp
+++ b/
src/s4u/s4u_Netzone.cpp
@@
-40,7
+40,7
@@
NetZone::~NetZone()
std::unordered_map<std::string, std::string>* NetZone::getProperties()
{
std::unordered_map<std::string, std::string>* NetZone::getProperties()
{
- return simgrid::simix::
kernelImmediate
([this] { return &properties_; });
+ return simgrid::simix::
simcall
([this] { return &properties_; });
}
/** Retrieve the property value (or nullptr if not set) */
}
/** Retrieve the property value (or nullptr if not set) */
@@
-50,7
+50,7
@@
const char* NetZone::getProperty(const char* key)
}
void NetZone::setProperty(const char* key, const char* value)
{
}
void NetZone::setProperty(const char* key, const char* value)
{
- simgrid::simix::
kernelImmediate
([this, key, value] { properties_[key] = value; });
+ simgrid::simix::
simcall
([this, key, value] { properties_[key] = value; });
}
/** @brief Returns the list of direct children (no grand-children)
}
/** @brief Returns the list of direct children (no grand-children)
@@
-111,7
+111,7
@@
void NetZone::add_route(kernel::routing::NetPoint* /*src*/, kernel::routing::Net
sg_netzone_t sg_zone_get_root()
{
sg_netzone_t sg_zone_get_root()
{
- return simgrid::s4u::Engine::get
Instance()->getNetR
oot();
+ return simgrid::s4u::Engine::get
_instance()->get_netzone_r
oot();
}
const char* sg_zone_get_name(sg_netzone_t netzone)
}
const char* sg_zone_get_name(sg_netzone_t netzone)
@@
-121,7
+121,7
@@
const char* sg_zone_get_name(sg_netzone_t netzone)
sg_netzone_t sg_zone_get_by_name(const char* name)
{
sg_netzone_t sg_zone_get_by_name(const char* name)
{
- return simgrid::s4u::Engine::get
Instance()->getNetzoneByNameOrN
ull(name);
+ return simgrid::s4u::Engine::get
_instance()->netzone_by_name_or_n
ull(name);
}
void sg_zone_get_sons(sg_netzone_t netzone, xbt_dict_t whereto)
}
void sg_zone_get_sons(sg_netzone_t netzone, xbt_dict_t whereto)