X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0d926831703326eda8eca16f898e892466d8d16a..5e5a85aa73a7854d577091848b08dec2351012ab:/src/include/surf/surf.h diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index 8cfa80ad49..93d8ebee75 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -56,6 +56,13 @@ XBT_PUBLIC(int) find_model_description(s_surf_model_description_t * table, XBT_PUBLIC(void) model_help(const char *category, s_surf_model_description_t * table); +enum heap_action_type{ + LATENCY = 100, + MAX_DURATION, + NORMAL, + NOTSET +}; + /** \brief Action structure * \ingroup SURF_actions * @@ -92,6 +99,10 @@ typedef struct surf_action_lmm { s_surf_action_t generic_action; lmm_variable_t variable; int suspended; + s_xbt_swag_hookup_t action_list_hookup; + int index_heap; + double last_update; + enum heap_action_type hat; } s_surf_action_lmm_t, *surf_action_lmm_t; /** \brief Action states @@ -350,7 +361,7 @@ typedef struct s_storage_type { } s_storage_type_t, *storage_type_t; typedef struct s_mount { - char *id; + void *id; char *name; } s_mount_t, *mount_t;