Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
minor fixes - Adrien / Takahiro
authoralebre <adrien.lebre@inria.fr>
Thu, 21 Feb 2013 09:57:15 +0000 (10:57 +0100)
committeralebre <adrien.lebre@inria.fr>
Thu, 21 Feb 2013 09:57:15 +0000 (10:57 +0100)
src/simix/smx_global.c
src/surf/cpu_cas01.c
src/surf/workstation.c

index d95bd67..ccf0011 100644 (file)
@@ -330,7 +330,7 @@ void SIMIX_run(void)
     SIMIX_process_empty_trash();
 
 
-    XBT_INFO("### time %f, empty %d", time, xbt_dynar_is_empty(simix_global->process_to_run));
+   // XBT_INFO("### time %f, empty %d", time, xbt_dynar_is_empty(simix_global->process_to_run));
     // !(time == -1.0 && xbt_dynar_is_empty()) 
 
 
index 5a1a2af..9b7d5c4 100644 (file)
@@ -437,7 +437,7 @@ void surf_cpu_model_init_Cas01(void)
   if (strcmp(optim, "TI") == 0) {
     /* FIXME: do we have to supprot TI? for VM */
     surf_cpu_model_pm = surf_cpu_model_init_ti();
-
+    XBT_INFO("TI model is used (it will crashed since this is the hypervisor branch)");
   } else {
     surf_cpu_model_pm  = surf_cpu_model_init_cas01();
     surf_cpu_model_vm  = surf_cpu_model_init_cas01();
index 6b07c0f..c1de8ae 100644 (file)
@@ -111,7 +111,7 @@ double ws_share_resources(surf_model_t workstation_model, double now)
   double min_by_cpu = cpu_model->model_private->share_resources(cpu_model, now);
   double min_by_net = net_model->model_private->share_resources(net_model, now);
 
-  XBT_INFO("%p %s min_by_cpu, %s %f min_by_net %f", workstation_model, cpu_model->name, min_by_cpu, net_model->name, min_by_net);
// XBT_INFO("%p %s min_by_cpu, %s %f min_by_net %f", workstation_model, cpu_model->name, min_by_cpu, net_model->name, min_by_net);
 
   if (min_by_cpu >= 0.0 && min_by_net >= 0.0)
     return min(min_by_cpu, min_by_net);