]> AND Public Git Repository - simgrid.git/blobdiff - examples/msg/tracing/ms.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modified base files in order to not refer anymore to the FAQ as the main doc source.
[simgrid.git] / examples / msg / tracing / ms.c
index 0b75720cf3705bba00b8ddb8e20da8f6efd29427..575612e315176a197756788dcb4ae377cec84ea8 100644 (file)
@@ -74,6 +74,9 @@ int slave(int argc, char *argv[])
   m_task_t task = NULL;
 
   TRACE_host_variable_set(MSG_host_get_name(MSG_host_self()), "is_slave", 1);
+  TRACE_host_variable_set(MSG_host_get_name(MSG_host_self()),
+                          "task_computation",
+                          0);
   while (1) {
     MSG_task_receive(&(task), "master_mailbox");