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
remove an old and misleading example
[simgrid.git]
/
src
/
surf
/
surf_routing_generic.cpp
diff --git
a/src/surf/surf_routing_generic.cpp
b/src/surf/surf_routing_generic.cpp
index
1dc0d18
..
a95b47e
100644
(file)
--- a/
src/surf/surf_routing_generic.cpp
+++ b/
src/surf/surf_routing_generic.cpp
@@
-156,11
+156,6
@@
xbt_edge_t new_xbt_graph_edge(xbt_graph_t graph, xbt_node_t s, xbt_node_t d,
namespace simgrid {
namespace surf {
namespace simgrid {
namespace surf {
-xbt_dynar_t AsGeneric::getOneLinkRoutes() { // FIXME: kill that stub
- xbt_die("\"generic_get_onelink_routes\" not implemented yet");
- return NULL;
-}
-
void AsGeneric::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges)
{
int src, dst;
void AsGeneric::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges)
{
int src, dst;
@@
-342,7
+337,7
@@
sg_platf_route_cbarg_t AsGeneric::getBypassRoute(NetCard *src,
sg_platf_route_cbarg_t new_e_route = NULL;
if (e_route_bypass) {
sg_platf_route_cbarg_t new_e_route = NULL;
if (e_route_bypass) {
-
Link* link;
+ Link* link;
unsigned int cpt = 0;
new_e_route = xbt_new0(s_sg_platf_route_cbarg_t, 1);
new_e_route->gw_src = e_route_bypass->gw_src;
unsigned int cpt = 0;
new_e_route = xbt_new0(s_sg_platf_route_cbarg_t, 1);
new_e_route->gw_src = e_route_bypass->gw_src;
@@
-449,7
+444,7
@@
As *AsGeneric::autonomousSystemExist(char *element)
As *AsGeneric::processingUnitsExist(char *element)
{
As *AsGeneric::processingUnitsExist(char *element)
{
- As *element_as = sg_host_by_name(element)->p_netcard ->getRcComponent();
+ As *element_as = sg_host_by_name(element)->p
impl
_netcard ->getRcComponent();
if (element_as == this)
return element_as;
return asExist(element_as);
if (element_as == this)
return element_as;
return asExist(element_as);