latest/source/lib/rocprof-sys-user/rocprofiler-systems/user.h Source File#
user.h
Go to the documentation of this file.
A struct containing annotation data to be included in the perfetto trace.
Definition: categories.h:178
enum ROCPROFSYS_USER_CONFIGURE_MODE rocprofsys_user_configure_mode_t
const char * rocprofsys_user_error_string(int)
Return a descriptor for the provided error code.
int rocprofsys_user_pop_annotated_region(const char *, rocprofsys_annotation_t *, unsigned long)
int rocprofsys_user_start_thread_trace(void)
Enable tracing on this specific thread. Does not apply to subsequently created threads.
int rocprofsys_user_stop_thread_trace(void)
Disable tracing on this specific thread. Does not apply to subsequently created threads.
int rocprofsys_user_get_callbacks(rocprofsys_user_callbacks_t *)
int rocprofsys_user_annotated_progress(const char *, rocprofsys_annotation_t *, unsigned long)
mark causal progress with annotations
int rocprofsys_user_push_region(const char *)
Start a user defined region.
int rocprofsys_user_configure(rocprofsys_user_configure_mode_t mode, rocprofsys_user_callbacks_t inp, rocprofsys_user_callbacks_t *out)
Configure the function pointers invoked by the rocprof-sys user API. The initial callbacks are set vi...
int rocprofsys_user_push_annotated_region(const char *, rocprofsys_annotation_t *, unsigned long)
int rocprofsys_user_pop_region(const char *)
End a user defined region. In general, user regions should be popped in the inverse order that they w...
int rocprofsys_user_stop_trace(void)
Disable tracing on this thread and all subsequently created threads.
int rocprofsys_user_start_trace(void)
Enable tracing on this thread and all subsequently created threads.