X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9888b5b5c4a3d51bbed3fc6862c8fb2843c2241b..652114f194de013d00c485df901535bc83acb73b:/src/surf/surf_routing.c diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index cfb7bb4e9a..fef83e49b4 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -1,4 +1,5 @@ -/* Copyright (c) 2009 The SimGrid team. All rights reserved. */ +/* Copyright (c) 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -88,7 +89,7 @@ static void routing_full_parse_Shost(void) { *val = used_routing->host_count++; xbt_dict_set(used_routing->host_id,A_surfxml_host_id,val,xbt_free); #ifdef HAVE_TRACING - TRACE_surf_define_host_id (A_surfxml_host_id, *val); + TRACE_surf_host_define_id (A_surfxml_host_id, *val); #endif } @@ -99,7 +100,7 @@ static void routing_full_parse_Srouter(void) { *val = HOST2ROUTER(used_routing->router_count++); xbt_dict_set(used_routing->host_id,A_surfxml_router_id,val,xbt_free); #ifdef HAVE_TRACING - TRACE_surf_define_host_id (A_surfxml_host_id, *val); + TRACE_surf_host_define_id (A_surfxml_host_id, *val); TRACE_surf_host_declaration (A_surfxml_host_id, 0); #endif } @@ -318,7 +319,7 @@ static void routing_full_parse_end(void) { DEBUG3("Adding onelink route from (#%d) to (#%d), link_name %s",src_id, dst_id, link_name); xbt_dict_set(onelink_routes, link_name, (void *)new_link, onelink_route_elem_free); #ifdef HAVE_TRACING - TRACE_surf_routing_full_parse_end (link_name, src_id, dst_id); + TRACE_surf_link_save_endpoints (link_name, src_id, dst_id); #endif }