Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
wipe out old code based on ids for nodes
[simgrid.git] / src / instr / variables_instr.c
index 56ce031..1642943 100644 (file)
@@ -15,7 +15,6 @@ extern routing_global_t global_routing;
 void __TRACE_link_variable (double time, const char *src, const char *dst, const char *variable, double value, const char *what)
 {
        char valuestr[100];
-       //int src_id, dst_id;
        xbt_dynar_t route = NULL;
        unsigned int i;
     void *link_ptr;
@@ -29,12 +28,6 @@ void __TRACE_link_variable (double time, const char *src, const char *dst, const
        return;
   }
 
-//   if (!used_routing) return;
-// 
-//   src_id = *(int*)xbt_dict_get(used_routing->host_id,src);
-//   dst_id = *(int*)xbt_dict_get(used_routing->host_id,dst);
-//   route = used_routing->get_route(src_id, dst_id);
-
   if (!global_routing) return;
   route = global_routing->get_route(src, dst);