Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace surf by surf++ and make it compile
[simgrid.git] / src / surf / new_model.c
index ea2b572..3881a74 100644 (file)
@@ -10,7 +10,6 @@
 
 #include "xbt/ex.h"
 #include "xbt/dict.h"
-#include "xbt/file_stat.h"
 #include "portable.h"
 #include "surf_private.h"
 #include "new_model_private.h"
@@ -21,13 +20,19 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_new_model, surf,
 
 surf_model_t surf_new_model = NULL;
 lmm_system_t new_model_maxmin_system = NULL;
+/*FIXME:
 static int new_model_selective_update = 0;
 static xbt_swag_t
     new_model_running_action_set_that_does_not_need_being_checked = NULL;
+*/
 
 #define GENERIC_LMM_ACTION(action) action->generic_lmm_action
 #define GENERIC_ACTION(action) GENERIC_LMM_ACTION(action).generic_action
 
+void surf_new_model_init_default(void){}
+
+//FIXME:UPDATE FOR SURF++
+#ifdef UPDATE_FOR_SURFPP
 static void new_model_action_state_set(surf_action_t action, e_surf_action_state_t state);
 
 static surf_action_t new_model_action_execute ()
@@ -180,3 +185,5 @@ void surf_new_model_init_default(void)
 
   xbt_dynar_push(model_list, &surf_new_model);
 }
+
+#endif