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
[surf] Remove sg_platf_router_cb
[simgrid.git]
/
src
/
surf
/
instr_routing.cpp
diff --git
a/src/surf/instr_routing.cpp
b/src/surf/instr_routing.cpp
index
d737c33
..
b737e87
100644
(file)
--- a/
src/surf/instr_routing.cpp
+++ b/
src/surf/instr_routing.cpp
@@
-318,7
+318,7
@@
static void instr_routing_parse_start_host (sg_platf_host_cbarg_t host)
}
}
-
static void instr_routing_parse_start_router
(sg_platf_router_cbarg_t router)
+
void sg_instr_new_router
(sg_platf_router_cbarg_t router)
{
container_t father = *(container_t*)xbt_dynar_get_ptr(currentContainer, xbt_dynar_length(currentContainer)-1);
PJ_container_new (router->id, INSTR_ROUTER, father);
{
container_t father = *(container_t*)xbt_dynar_get_ptr(currentContainer, xbt_dynar_length(currentContainer)-1);
PJ_container_new (router->id, INSTR_ROUTER, father);
@@
-347,7
+347,6
@@
void instr_routing_define_callbacks ()
if (!TRACE_needs_platform()) return;
sg_platf_link_add_cb(instr_routing_parse_start_link);
sg_platf_host_add_cb(instr_routing_parse_start_host);
if (!TRACE_needs_platform()) return;
sg_platf_link_add_cb(instr_routing_parse_start_link);
sg_platf_host_add_cb(instr_routing_parse_start_host);
- sg_platf_router_add_cb(instr_routing_parse_start_router);
sg_platf_postparse_add_cb(instr_routing_parse_end_platform);
}
sg_platf_postparse_add_cb(instr_routing_parse_end_platform);
}