Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cope with new tmgr (trace manager) interface.
authorvelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Jul 2009 13:06:56 +0000 (13:06 +0000)
committervelho <velho@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Jul 2009 13:06:56 +0000 (13:06 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6526 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/network_gtnets.c

index e7536d6..2fba3bf 100644 (file)
@@ -168,9 +168,9 @@ static void parse_link_init(void)
   tmgr_trace_t state_trace;
   tmgr_trace_t lat_trace;
 
-  surf_parse_get_trace(&bw_trace, A_surfxml_link_bandwidth_file);
-  surf_parse_get_trace(&lat_trace, A_surfxml_link_latency_file);
-  surf_parse_get_trace(&state_trace, A_surfxml_link_state_file);
+  bw_trace = tmgr_trace_new(A_surfxml_link_bandwidth_file);
+  lat_trace = tmgr_trace_new(A_surfxml_link_latency_file);
+  state_trace = tmgr_trace_new(A_surfxml_link_state_file);
 
   if (bw_trace)
     INFO0("The GTNetS network model doesn't support bandwidth state traces");