git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9577
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
xbt_ex_t e;
MSG_error_t ret = MSG_OK;
volatile smx_action_t comm = NULL;
xbt_ex_t e;
MSG_error_t ret = MSG_OK;
volatile smx_action_t comm = NULL;
-#ifdef HAVE_TRACING
- double start_time = 0;
-#endif
/* We no longer support getting a task from a specific host */
if (host)
THROW_UNIMPLEMENTED;
/* We no longer support getting a task from a specific host */
if (host)
THROW_UNIMPLEMENTED;
CHECK_HOST();
#ifdef HAVE_TRACING
TRACE_msg_task_get_start();
CHECK_HOST();
#ifdef HAVE_TRACING
TRACE_msg_task_get_start();
- start_time = MSG_get_clock();
+ double start_time = MSG_get_clock();
#endif
/* Sanity check */
#endif
/* Sanity check */
//SIMIX_req_comm_destroy(comm);
}
//SIMIX_req_comm_destroy(comm);
}
- if (ret != MSG_HOST_FAILURE &&
- ret != MSG_TRANSFER_FAILURE && ret != MSG_TIMEOUT) {
+ if (ret != MSG_HOST_FAILURE &&
+ ret != MSG_TRANSFER_FAILURE &&
+ ret != MSG_TIMEOUT) {
TRACE_msg_task_get_end(start_time, *task);
TRACE_msg_task_get_end(start_time, *task);