X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d25ee31741e8dd64436721b11fe82a0969f369cf..77f37f760119eedffa3ba51f5f67419822e48cda:/src/surf/surf_private.h diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index ff76645a17..f819a0987c 100644 --- a/src/surf/surf_private.h +++ b/src/surf/surf_private.h @@ -33,13 +33,21 @@ typedef struct surf_resource_private { double generic_maxmin_share_resources(xbt_swag_t running_actions, size_t offset); +double generic_maxmin_share_resources2(xbt_swag_t running_actions, + size_t offset, + lmm_system_t sys); + /* Generic functions common to all ressources */ e_surf_action_state_t surf_action_get_state(surf_action_t action); void surf_action_free(surf_action_t * action); void surf_action_change_state(surf_action_t action, e_surf_action_state_t state); +void surf_action_set_data(surf_action_t action, + void *data); +FILE *surf_fopen(const char *name, const char *mode); extern lmm_system_t maxmin_system; extern tmgr_history_t history; +extern xbt_dynar_t surf_path; #endif /* _SURF_SURF_PRIVATE_H */