SIMIX_request_push(&req);
}
+#ifdef HAVE_TRACING
+/**
+ * \brief Set the category of an execution action.
+ *
+ * This functions changes the priority only. It calls a surf function.
+ * \param execution The execution action
+ * \param priority The new priority
+ */
+void SIMIX_req_host_execution_set_category(smx_action_t execution, const char *category)
+{
+ s_smx_req_t req;
+
+ req.call = REQ_HOST_EXECUTION_SET_CATEGORY;
+ req.host_execution_set_category.execution = execution;
+ req.host_execution_set_category.category = xbt_strdup (category);
+ SIMIX_request_push(&req);
+}
+#endif
+
/**
* \brief Waits for the completion of an execution action.
*