Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Should be debug
authornavarro <navarro@caraja.(none)>
Tue, 20 Mar 2012 14:18:16 +0000 (15:18 +0100)
committernavarro <navarro@caraja.(none)>
Tue, 20 Mar 2012 14:18:16 +0000 (15:18 +0100)
src/surf/network.c
src/surf/workstation.c

index f8c22b0..6c37f1e 100644 (file)
@@ -200,6 +200,7 @@ static void *net_create_resource(const char *name,
     lmm_constraint_shared(nw_link->lmm_resource.constraint);
 
   xbt_lib_set(link_lib, name, SURF_LINK_LEVEL, nw_link);
     lmm_constraint_shared(nw_link->lmm_resource.constraint);
 
   xbt_lib_set(link_lib, name, SURF_LINK_LEVEL, nw_link);
+  XBT_DEBUG("Create link '%s'",name);
 
   return nw_link;
 }
 
   return nw_link;
 }
index f090b9d..9cc7163 100644 (file)
@@ -249,7 +249,7 @@ static surf_action_t ws_execute_parallel_task(int workstation_nb,
 /* returns an array of network_link_CM02_t */
 static xbt_dynar_t ws_get_route(void *workstation_src, void *workstation_dst)
 {
 /* returns an array of network_link_CM02_t */
 static xbt_dynar_t ws_get_route(void *workstation_src, void *workstation_dst)
 {
-  XBT_INFO("ws_get_route");
+  XBT_DEBUG("ws_get_route");
   workstation_CLM03_t src = (workstation_CLM03_t) workstation_src;
   workstation_CLM03_t dst = (workstation_CLM03_t) workstation_dst;
   return surf_network_model->extension.
   workstation_CLM03_t src = (workstation_CLM03_t) workstation_src;
   workstation_CLM03_t dst = (workstation_CLM03_t) workstation_dst;
   return surf_network_model->extension.