latest/source/lib/rocprof-sys-user/rocprofiler-systems/types.h Source File#
types.h
Go to the documentation of this file.
85 ROCPROFSYS_USER_UNION_CONFIG = 0, ///< Replace the callbacks in the current config with the non-null callbacks in the provided config
86 ROCPROFSYS_USER_REPLACE_CONFIG, ///< Replace the entire config even if the provided config has null callbacks
87 ROCPROFSYS_USER_INTERSECT_CONFIG, ///< Produce a config which is the intersection of the current config and the provided config
A struct containing annotation data to be included in the perfetto trace.
Definition: categories.h:183
rocprofsys_annotated_region_func_t push_annotated_region
callback for starting a trace region + annotations
Definition: types.h:53
rocprofsys_annotated_region_func_t pop_annotated_region
callback for ending a trace region + annotations
Definition: types.h:54
struct rocprofsys_user_callbacks rocprofsys_user_callbacks_t
enum ROCPROFSYS_USER_CONFIGURE_MODE rocprofsys_user_configure_mode_t
int(* rocprofsys_annotated_region_func_t)(const char *, rocprofsys_annotation *, unsigned long)
Definition: types.h:37
@ ROCPROFSYS_USER_REPLACE_CONFIG
Replace the entire config even if the provided config has null callbacks.
Definition: types.h:86
@ ROCPROFSYS_USER_INTERSECT_CONFIG
Produce a config which is the intersection of the current config and the provided config.
Definition: types.h:87
@ ROCPROFSYS_USER_UNION_CONFIG
Replace the callbacks in the current config with the non-null callbacks in the provided config.
Definition: types.h:85
@ ROCPROFSYS_USER_ERROR_INTERNAL
Internal error occurred within librocprof-sys.
Definition: types.h:102
rocprofsys_annotated_region_func_t annotated_progress
callback for marking an causal profiling event + annotations
Definition: types.h:55
enum ROCPROFSYS_USER_ERROR rocprofsys_user_error_t
rocprofsys_trace_func_t start_thread_trace
callback for enabling tracing on current thread
Definition: types.h:48
rocprofsys_region_func_t progress
callback for marking an causal profiling event
Definition: types.h:52
rocprofsys_trace_func_t stop_thread_trace
callback for disabling tracing on current thread
Definition: types.h:49