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 / smurf_private.h
index 7a67a35..7a80c3f 100644 (file)
@@ -24,6 +24,9 @@ typedef enum {
   REQ_HOST_EXECUTION_GET_REMAINS,
   REQ_HOST_EXECUTION_GET_STATE,
   REQ_HOST_EXECUTION_SET_PRIORITY,
+#ifdef HAVE_TRACING
+  REQ_HOST_EXECUTION_SET_CATEGORY,
+#endif
   REQ_HOST_EXECUTION_WAIT,
   REQ_PROCESS_CREATE,
   REQ_PROCESS_KILL,
@@ -170,6 +173,13 @@ typedef struct s_smx_req {
       double priority;
     } host_execution_set_priority;
 
+#ifdef HAVE_TRACING
+    struct {
+      smx_action_t execution;
+      const char *category;
+    } host_execution_set_category;
+#endif
+
     struct {
       smx_action_t execution;
     } host_execution_wait;