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 unused parameter + cosmetics
[simgrid.git]
/
src
/
surf
/
instr_routing.cpp
diff --git
a/src/surf/instr_routing.cpp
b/src/surf/instr_routing.cpp
index
43bfc41
..
5401f12
100644
(file)
--- a/
src/surf/instr_routing.cpp
+++ b/
src/surf/instr_routing.cpp
@@
-297,10
+297,12
@@
void sg_instr_new_host(simgrid::s4u::Host& host)
}
}
-void sg_instr_new_router(const char* name
, const char* coords
)
+void sg_instr_new_router(const char* name)
{
{
- container_t father = currentContainer.back();
- PJ_container_new(name, INSTR_ROUTER, father);
+ if (TRACE_is_enabled() && TRACE_needs_platform()) {
+ container_t father = currentContainer.back();
+ PJ_container_new(name, INSTR_ROUTER, father);
+ }
}
static void instr_routing_parse_end_platform ()
}
static void instr_routing_parse_end_platform ()