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
please my old friend SonarQube now that it's back
[simgrid.git]
/
src
/
kernel
/
routing
/
AsRoutedGraph.cpp
diff --git
a/src/kernel/routing/AsRoutedGraph.cpp
b/src/kernel/routing/AsRoutedGraph.cpp
index
20b0910
..
8dc559f
100644
(file)
--- a/
src/kernel/routing/AsRoutedGraph.cpp
+++ b/
src/kernel/routing/AsRoutedGraph.cpp
@@
-30,8
+30,6
@@
AsRoutedGraph::AsRoutedGraph(As* father, const char* name) : AsImpl(father, name
{
}
-AsRoutedGraph::~AsRoutedGraph()=default;
-
}}} // namespace simgrid::kernel::routing
/* ************************************************************************** */
@@
-92,7
+90,7
@@
void AsRoutedGraph::getOneLinkRoutes(std::vector<Onelink*>* accumulator)
route->link_list->clear();
NetCard* src_elm = vertices_.at(src);
NetCard* dst_elm = vertices_.at(dst);
- this->get
RouteAndLatency
(src_elm, dst_elm, route, nullptr);
+ this->get
LocalRoute
(src_elm, dst_elm, route, nullptr);
if (route->link_list->size() == 1) {
Link* link = route->link_list->at(0);
@@
-120,7
+118,7
@@
void AsRoutedGraph::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edg
sg_platf_route_cbarg_t route = xbt_new0(s_sg_platf_route_cbarg_t, 1);
route->link_list = new std::vector<Link*>();
- get
RouteAndLatency
(my_src, my_dst, route, nullptr);
+ get
LocalRoute
(my_src, my_dst, route, nullptr);
XBT_DEBUG("get_route_and_latency %s -> %s", my_src->name().c_str(), my_dst->name().c_str());