DEBUG1("Computing on %s", MSG_process_self()->simdata->m_host->name);
- if (simdata->comp_amount == 0)
+ if (simdata->comp_amount == 0) {
+#ifdef HAVE_TRACING
+ TRACE_msg_task_execute_end (task);
+#endif
return MSG_OK;
-
+ }
simdata->refcount++;
SIMIX_mutex_lock(simdata->mutex);
simdata->compute =