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
snake_case routing
[simgrid.git]
/
src
/
kernel
/
routing
/
DragonflyZone.cpp
diff --git
a/src/kernel/routing/DragonflyZone.cpp
b/src/kernel/routing/DragonflyZone.cpp
index
d7bc1a1
..
5d31232
100644
(file)
--- a/
src/kernel/routing/DragonflyZone.cpp
+++ b/
src/kernel/routing/DragonflyZone.cpp
@@
-262,7
+262,7
@@
void DragonflyZone::generateLinks()
}
}
}
}
-void DragonflyZone::get
LocalR
oute(NetPoint* src, NetPoint* dst, RouteCreationArgs* route, double* latency)
+void DragonflyZone::get
_local_r
oute(NetPoint* src, NetPoint* dst, RouteCreationArgs* route, double* latency)
{
// Minimal routing version.
// TODO : non-minimal random one, and adaptive ?
{
// Minimal routing version.
// TODO : non-minimal random one, and adaptive ?
@@
-274,7
+274,7
@@
void DragonflyZone::getLocalRoute(NetPoint* src, NetPoint* dst, RouteCreationArg
dst->id());
if ((src->id() == dst->id()) && has_loopback_) {
dst->id());
if ((src->id() == dst->id()) && has_loopback_) {
- std::pair<surf::LinkImpl*, surf::LinkImpl*> info = private_links_.at(node
Position
(src->id()));
+ std::pair<surf::LinkImpl*, surf::LinkImpl*> info = private_links_.at(node
_pos
(src->id()));
route->link_list.push_back(info.first);
if (latency)
route->link_list.push_back(info.first);
if (latency)
@@
-302,7
+302,7
@@
void DragonflyZone::getLocalRoute(NetPoint* src, NetPoint* dst, RouteCreationArg
*latency += myRouter->my_nodes_[myCoords[3] * num_links_per_link_]->latency();
if (has_limiter_) { // limiter for sender
*latency += myRouter->my_nodes_[myCoords[3] * num_links_per_link_]->latency();
if (has_limiter_) { // limiter for sender
- std::pair<surf::LinkImpl*, surf::LinkImpl*> info = private_links_.at(node
PositionWithL
oopback(src->id()));
+ std::pair<surf::LinkImpl*, surf::LinkImpl*> info = private_links_.at(node
_pos_with_l
oopback(src->id()));
route->link_list.push_back(info.first);
}
route->link_list.push_back(info.first);
}
@@
-352,7
+352,7
@@
void DragonflyZone::getLocalRoute(NetPoint* src, NetPoint* dst, RouteCreationArg
}
if (has_limiter_) { // limiter for receiver
}
if (has_limiter_) { // limiter for receiver
- std::pair<surf::LinkImpl*, surf::LinkImpl*> info = private_links_.at(node
PositionWithL
oopback(dst->id()));
+ std::pair<surf::LinkImpl*, surf::LinkImpl*> info = private_links_.at(node
_pos_with_l
oopback(dst->id()));
route->link_list.push_back(info.first);
}
route->link_list.push_back(info.first);
}