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
finish snake_case s4u::Engine
[simgrid.git]
/
src
/
s4u
/
s4u_Engine.cpp
diff --git
a/src/s4u/s4u_Engine.cpp
b/src/s4u/s4u_Engine.cpp
index
9bcbae9
..
352e4eb
100644
(file)
--- a/
src/s4u/s4u_Engine.cpp
+++ b/
src/s4u/s4u_Engine.cpp
@@
-188,7
+188,8
@@
void Engine::run()
}
}
}
}
-s4u::NetZone* Engine::getNetRoot()
+/** @brief Retrieve the root netzone, containing all others */
+s4u::NetZone* Engine::get_netzone_root()
{
return pimpl->netzone_root_;
}
{
return pimpl->netzone_root_;
}
@@
-208,13
+209,13
@@
static s4u::NetZone* netzone_by_name_recursive(s4u::NetZone* current, const char
}
/** @brief Retrieve the NetZone of the given name (or nullptr if not found) */
}
/** @brief Retrieve the NetZone of the given name (or nullptr if not found) */
-NetZone* Engine::
getNetzoneByNameOrN
ull(const char* name)
+NetZone* Engine::
netzone_by_name_or_n
ull(const char* name)
{
{
- return netzone_by_name_recursive(get
NetR
oot(), name);
+ return netzone_by_name_recursive(get
_netzone_r
oot(), name);
}
/** @brief Retrieve the netpoint of the given name (or nullptr if not found) */
}
/** @brief Retrieve the netpoint of the given name (or nullptr if not found) */
-simgrid::kernel::routing::NetPoint* Engine::
getNetpointByNameOrN
ull(std::string name)
+simgrid::kernel::routing::NetPoint* Engine::
netpoint_by_name_or_n
ull(std::string name)
{
auto netp = pimpl->netpoints_.find(name);
return netp == pimpl->netpoints_.end() ? nullptr : netp->second;
{
auto netp = pimpl->netpoints_.find(name);
return netp == pimpl->netpoints_.end() ? nullptr : netp->second;