From e3e1fdf1ee5decc8735c7a5a971808ea4460805c Mon Sep 17 00:00:00 2001 From: schnorr Date: Fri, 1 Oct 2010 15:20:48 +0000 Subject: [PATCH] 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 --- src/surf/surf_routing.c | 3 +++ 1 file changed, 3 insertions(+) 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 } /** -- 2.20.1