X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3248c64c65a5750a7b9cbf23f5896e9a7a0f8374..2c8e75834bbb63acef15c560c3de978ab3cb6fbf:/src/include/surf/surf.h diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index 63aa9fa555..d32041fddf 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -77,6 +77,8 @@ XBT_PUBLIC(void) model_help(const char* category, s_surf_model_description_t * t the task is completed) */ double remains; /**< How much of that cost remains to * be done in the currently running task */ + int latency_limited; /**< Set to 1 if is limited by latency, 0 otherwise */ + double start; /**< start time */ double finish; /**< finish time : this is modified during the run * and fluctuates until the task is completed */ @@ -253,6 +255,7 @@ XBT_PUBLIC_DATA(routing_t) used_routing; void (*set_max_duration) (surf_action_t action, double duration);/**< Set the max duration of an action*/ void (*set_priority) (surf_action_t action, double priority);/**< Set the priority of an action */ double (*get_remains) (surf_action_t action);/**< Get the remains of an action */ + int (*get_latency_limited) (surf_action_t action);/**< Return 1 if action is limited by latency, 0 otherwise */ xbt_dict_t resource_set;