-smx_action_t SIMIX_host_parallel_execute(u_smx_scalar_t *args)
-{
- const char *name = args[0].cc;
- int host_nb = args[1].i;
- smx_host_t *host_list = args[2].p;
- double *computation_amount = args[3].p;
- double *communication_amount = args[4].p;
- double amount = args[5].d;
- double rate = args[6].d;
+smx_action_t SIMIX_pre_host_parallel_execute(smx_simcall_t simcall, const char *name,
+ int host_nb, smx_host_t *host_list,
+ double *computation_amount, double *communication_amount,
+ double amount, double rate){
+ return SIMIX_host_parallel_execute(name, host_nb, host_list, computation_amount,
+ communication_amount, amount, rate);
+}
+smx_action_t SIMIX_host_parallel_execute(const char *name,
+ int host_nb, smx_host_t *host_list,
+ double *computation_amount, double *communication_amount,
+ double amount, double rate){
+