* \param amount Task amount (in bytes)
* \return A new SIMIX action
* */
-smx_action_t SIMIX_action_execute(smx_host_t host, char *name,
+smx_action_t SIMIX_action_execute(smx_host_t host, const char *name,
double amount)
{
smx_action_t act;
return action->simdata->surf_action->remains;
}
-smx_action_t SIMIX_action_parallel_execute(const char *name, int host_nb,
- const smx_host_t *host_list,
+smx_action_t SIMIX_action_parallel_execute(char *name, int host_nb,
+ smx_host_t *host_list,
double *computation_amount,
double *communication_amount,
double amount, double rate)