Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cleanups: kill code dupplication
[simgrid.git] / src / simix / smx_environment.c
index eb7782f..321e84d 100644 (file)
@@ -112,6 +112,8 @@ void SIMIX_create_environment(const char *file)
         double e ;
     double s = xbt_os_time();  
     parse_platform_file(file);
+    if (surf_workstation_model_description[workstation_id].create_ws != NULL)
+      surf_workstation_model_description[workstation_id].create_ws();
     e = xbt_os_time();
     DEBUG1("PARSE TIME: %lg", (e-s));
   }