X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e8d56f015e3ca47f201ec7930818e37794d0152..220a0c6c5a2edccc979b3c7f8ebc1409ff77ae0f:/src/surf/surf_private.h diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index 8358de6a12..bb40853982 100644 --- a/src/surf/surf_private.h +++ b/src/surf/surf_private.h @@ -31,12 +31,12 @@ typedef struct surf_model_private { int (*resource_used) (void *resource_id); /* Share the resources to the actions and return in how much time the next action may terminate */ - double (*share_resources) (double now); + double (*share_resources) (surf_model_t model, double now); /* Update the actions' state */ - void (*update_actions_state) (double now, double delta); - void (*update_resource_state) (void *id, tmgr_trace_event_t event_type, + void (*update_actions_state) (surf_model_t model, double now, double delta); + void (*update_resource_state) (void *resource, tmgr_trace_event_t event_type, double value, double time); - void (*finalize) (void); + void (*finalize) (surf_model_t model); lmm_system_t maxmin_system; e_UM_t update_mechanism;