From: schnorr Date: Fri, 1 Oct 2010 15:20:48 +0000 (+0000) Subject: tracing router existence with the new parser X-Git-Tag: v3_5~500 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e3e1fdf1ee5decc8735c7a5a971808ea4460805c?ds=sidebyside tracing router existence with the new parser details: - a router is represented in the trace as a host with no power git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8324 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index 51ac3176e2..ab33612d9c 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -132,6 +132,9 @@ static void parse_S_router(void) { "no defined method \"set_processing_unit\" in \"%s\"",current_routing->name); (*(current_routing->set_processing_unit))(current_routing,A_surfxml_router_id); xbt_dict_set(global_routing->where_network_elements,A_surfxml_router_id,(void*)current_routing,NULL); +#ifdef HAVE_TRACING + TRACE_surf_host_declaration (A_surfxml_router_id, 0); +#endif } /**