Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] new system call to make categorized host utilization tracing possible again
[simgrid.git] / src / msg / gos.c
index 3749d9c..ba361cc 100644 (file)
@@ -66,6 +66,9 @@ MSG_error_t MSG_task_execute(m_task_t task)
       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_host_execution_set_category(simdata->compute, task->category);
+#endif
 
   self->simdata->waiting_action = simdata->compute;
   SIMIX_req_host_execution_wait(simdata->compute);