Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename SIMIX_host_self() into sg_host_self(), and make it public
[simgrid.git] / src / smpi / instr_smpi.cpp
index 3a7525e..eb3b141 100644 (file)
@@ -77,8 +77,8 @@ static const char *instr_find_color (const char *state)
   while (current != nullptr) {
     if (strcmp (state, current) == 0 //exact match
         || strstr(target, current) != 0 ){//as substring
-         ret = smpi_colors[i+1]; 
-         break; 
+         ret = smpi_colors[i+1];
+         break;
     }
     i+=2;
     current = smpi_colors[i];
@@ -197,7 +197,7 @@ void TRACE_smpi_init(int rank)
 
   container_t father;
   if (TRACE_smpi_is_grouped()){
-    father = PJ_container_get (SIMIX_host_self_get_name());
+    father = PJ_container_get(sg_host_self_get_name());
   }else{
     father = PJ_container_get_root ();
   }