@@ -91,5 +91,9 @@ todo
\ingroup API_FxT_Support
Add an event in the execution trace if FxT is enabled.
+\fn void starpu_fxt_trace_user_event_string(const char *s)
+\ingroup API_FxT_Support
+Add a string event in the execution trace if FxT is enabled.
+
*/
@@ -71,6 +71,7 @@ void starpu_fxt_start_profiling(void);
void starpu_fxt_stop_profiling(void);
void starpu_fxt_write_data_trace(char *filename_in);
void starpu_fxt_trace_user_event(unsigned long code);
+void starpu_fxt_trace_user_event_string(const char *s);
#ifdef __cplusplus
}
@@ -243,3 +243,10 @@ void starpu_fxt_trace_user_event(unsigned long code STARPU_ATTRIBUTE_UNUSED)
_STARPU_TRACE_USER_EVENT(code);
#endif
+void starpu_fxt_trace_user_event_string(const char *s)
+{
+#ifdef STARPU_USE_FXT
+ _STARPU_TRACE_EVENT(s);
+#endif
+}