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
Update info
[simgrid.git]
/
src
/
kernel
/
routing
/
NetPoint.cpp
diff --git
a/src/kernel/routing/NetPoint.cpp
b/src/kernel/routing/NetPoint.cpp
index
5bf404b
..
d1f353c
100644
(file)
--- a/
src/kernel/routing/NetPoint.cpp
+++ b/
src/kernel/routing/NetPoint.cpp
@@
-23,18
+23,18
@@
NetPoint::NetPoint(std::string name, NetPoint::Type componentType, NetZoneImpl*
{
if (netzone_p != nullptr)
id_ = netzone_p->addComponent(this);
- simgrid::s4u::Engine::instance()->net
card
Register(this);
+ simgrid::s4u::Engine::instance()->net
point
Register(this);
simgrid::kernel::routing::NetPoint::onCreation(this);
}
}
}
} // namespace simgrid::kernel::routing
-/** @brief Retrieve a net
card
from its name
+/** @brief Retrieve a net
point
from its name
*
- * Net
cards are the thing that connect host or routers to the network
+ * Net
points denote the location of host or routers in the network, to compute routes
*/
-simgrid::kernel::routing::NetPoint* sg_net
card
_by_name_or_null(const char* name)
+simgrid::kernel::routing::NetPoint* sg_net
point
_by_name_or_null(const char* name)
{
- return simgrid::s4u::Engine::instance()->net
card
ByNameOrNull(name);
+ return simgrid::s4u::Engine::instance()->net
point
ByNameOrNull(name);
}