rocprofiler-sdk/amd_detail/thread_trace_dispatch.h Source File#
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
|
thread_trace_dispatch.h
Go to the documentation of this file.
rocprofiler_att_control_flags_t(* rocprofiler_att_dispatch_callback_t)(rocprofiler_queue_id_t queue_id, const rocprofiler_agent_t *agent, rocprofiler_correlation_id_t correlation_id, rocprofiler_kernel_id_t kernel_id, rocprofiler_dispatch_id_t dispatch_id, rocprofiler_user_data_t *userdata_shader, void *userdata_config)
Callback to be triggered every kernel dispatch, indicating to start and/or stop ATT.
Definition thread_trace_dispatch.h:51
rocprofiler_status_t rocprofiler_configure_dispatch_thread_trace_service(rocprofiler_context_id_t context_id, rocprofiler_att_parameter_t *parameters, unsigned long num_parameters, rocprofiler_att_dispatch_callback_t dispatch_callback, rocprofiler_att_shader_data_callback_t shader_callback, void *callback_userdata)
Enables the advanced thread trace service for dispatch-based tracing. The tool has an option to enabl...
void(* rocprofiler_att_shader_data_callback_t)(int64_t shader_engine_id, void *data, unsigned long data_size, rocprofiler_user_data_t userdata)
Callback to be triggered every time some ATT data is generated by the device.
Definition thread_trace_core.h:72
@ ROCPROFILER_ATT_CONTROL_START_AND_STOP
Definition thread_trace_dispatch.h:45
Generated by 1.9.8