Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reverting Mt's modifications and making use of the brand new SURF timer.
[simgrid.git] / src / msg / environment.c
index a0fed43..ee94d94 100644 (file)
@@ -61,8 +61,12 @@ void MSG_create_environment(const char *file) {
   char *name = NULL;
   void *workstation = NULL;
 
-/*   surf_workstation_resource_init_CLM03(file); */
+  surf_timer_resource_init(file);
+#ifdef ALVIN_SURF_SPECIAL
   surf_workstation_resource_init_KCCFLN05(file);
+#else
+  surf_workstation_resource_init_CLM03(file);
+#endif
 
   xbt_dict_foreach(workstation_set, cursor, name, workstation) {
     __MSG_host_create(name, workstation, NULL);