From: schnorr Date: Wed, 21 Mar 2012 14:10:31 +0000 (+0100) Subject: [trace] correct graph extraction for graphicator X-Git-Tag: v3_7~273^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/842d47ec767179801dcf5cf2beba708b92697dbf?hp=-c;ds=inline [trace] correct graph extraction for graphicator --- 842d47ec767179801dcf5cf2beba708b92697dbf diff --git a/src/instr/instr_routing.c b/src/instr/instr_routing.c index 12d6863c5a..70b4c2efb2 100644 --- a/src/instr/instr_routing.c +++ b/src/instr/instr_routing.c @@ -515,6 +515,7 @@ static void recursiveXBTGraphExtraction (xbt_graph_t graph, xbt_dict_t nodes, xb xbt_dynar_foreach (route->link_list, cpt, link) { char *link_name = ((link_CM02_t)link)->lmm_resource.generic_resource.name; current = new_xbt_graph_node(graph, link_name, nodes); + new_xbt_graph_edge (graph, previous, current, edges); //previous -> current previous = current; }