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 / simix / smx_smurf.c
index 1c21595..bed8cd0 100644 (file)
@@ -193,6 +193,15 @@ void SIMIX_request_pre(smx_req_t req)
       SIMIX_request_answer(req);
       break;
 
+#ifdef HAVE_TRACING
+    case REQ_HOST_EXECUTION_SET_CATEGORY:
+      SIMIX_host_execution_set_category(
+          req->host_execution_set_category.execution,
+          req->host_execution_set_category.category);
+      SIMIX_request_answer(req);
+      break;
+#endif
+
     case REQ_HOST_EXECUTION_WAIT:
       SIMIX_pre_host_execution_wait(req);
       break;