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
new tracing option, use only onelink routes to trace platform
[simgrid.git]
/
src
/
instr
/
instr_routing.c
diff --git
a/src/instr/instr_routing.c
b/src/instr/instr_routing.c
index
5613849
..
a0a7cc3
100644
(file)
--- a/
src/instr/instr_routing.c
+++ b/
src/instr/instr_routing.c
@@
-110,6
+110,9
@@
static void recursiveGraphExtraction (routing_component_t rc, container_t contai
strcmp (child1_name, child2_name) != 0){
xbt_dynar_t route = global_routing->get_route (child1_name, child2_name);
strcmp (child1_name, child2_name) != 0){
xbt_dynar_t route = global_routing->get_route (child1_name, child2_name);
+ if (TRACE_onelink_only()){
+ if (xbt_dynar_length (route) > 1) continue;
+ }
unsigned int cpt;
void *link;
container_t previous = child1;
unsigned int cpt;
void *link;
container_t previous = child1;
@@
-432,6
+435,9
@@
static void recursiveXBTGraphExtraction (xbt_graph_t graph, xbt_dict_t nodes, xb
strcmp (child1_name, child2_name) != 0){
xbt_dynar_t route = global_routing->get_route (child1_name, child2_name);
strcmp (child1_name, child2_name) != 0){
xbt_dynar_t route = global_routing->get_route (child1_name, child2_name);
+ if (TRACE_onelink_only()){
+ if (xbt_dynar_length (route) > 1) continue;
+ }
unsigned int cpt;
void *link;
xbt_node_t current, previous = new_xbt_graph_node(graph, child1_name, nodes);
unsigned int cpt;
void *link;
xbt_node_t current, previous = new_xbt_graph_node(graph, child1_name, nodes);