summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
750b84f)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1563
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
static double share_resources(double now)
{
static double share_resources(double now)
{
+ s_surf_action_parallel_task_CSL05_t action;
+ return generic_maxmin_share_resources(surf_workstation_resource->common_public->
+ states.running_action_set,
+ xbt_swag_offset(action, variable));
}
static void update_actions_state(double now, double delta)
}
static void update_actions_state(double now, double delta)
action->suspended = 0; /* Should be useless because of the
calloc but it seems to help valgrind... */
action->generic_action.state_set =
action->suspended = 0; /* Should be useless because of the
calloc but it seems to help valgrind... */
action->generic_action.state_set =
- surf_network_resource->common_public->states.running_action_set;
+ surf_workstation_resource->common_public->states.running_action_set;
xbt_swag_insert(action, action->generic_action.state_set);
action->rate = rate;
xbt_swag_insert(action, action->generic_action.state_set);
action->rate = rate;