Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prepare network.c and cpu_cas01.c for net and cpu merge.
[simgrid.git] / src / include / surf / surf.h
index 2d4e5b4..04530c6 100644 (file)
 SG_BEGIN_DECL()
 /* Actions and models are highly connected structures... */
 
+typedef enum {
+  UM_FULL,
+  UM_LAZY,
+  UM_UNDEFINED
+} e_UM_t;
+
 typedef enum {
   SURF_NETWORK_ELEMENT_NULL = 0,        /* NULL */
   SURF_NETWORK_ELEMENT_HOST,    /* host type */
@@ -317,6 +323,13 @@ typedef struct surf_model {
 
   surf_model_private_t model_private;
 
+  // for action
+  lmm_system_t maxmin_system;
+  e_UM_t update_mechanism;
+  xbt_swag_t modified_set;
+  xbt_heap_t action_heap;
+  int selective_update;
+
   union extension {
     s_surf_model_extension_cpu_t cpu;
     s_surf_model_extension_network_t network;