Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
wipe out old code based on ids for nodes
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Sep 2010 15:10:36 +0000 (15:10 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 28 Sep 2010 15:10:36 +0000 (15:10 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8295 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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);