SIMIX_req_host_execute(task->name, SIMIX_host_self(),
simdata->computation_amount);
SIMIX_req_host_execution_set_priority(simdata->compute, simdata->priority);
+#ifdef HAVE_TRACING
+ SIMIX_req_set_category(simdata->compute, task->category);
+#endif
self->simdata->waiting_action = simdata->compute;
SIMIX_req_host_execution_wait(simdata->compute);
/* Send it by calling SIMIX network layer */
return SIMIX_req_comm_isend(mailbox, t_simdata->message_size,
- t_simdata->rate, task, sizeof(void *),
+ t_simdata->rate, task, sizeof(void *), NULL,
&t_simdata->comm);
}
("MSG_task_get() was asked to write in a non empty task struct.");
/* Try to receive it by calling SIMIX network layer */
- return SIMIX_req_comm_irecv(rdv, task, NULL);
+ return SIMIX_req_comm_irecv(rdv, task, NULL, NULL, NULL);
}
/** \ingroup msg_gos_functions
task = (m_task_t) SIMIX_req_comm_get_src_buff(comm);
task->simdata->refcount--;
}
- SIMIX_req_comm_destroy(comm);
/* FIXME: these functions are not tracable */
}