rocprofiler-sdk/amd_detail/thread_trace_dispatch.h File Reference

rocprofiler-sdk/amd_detail/thread_trace_dispatch.h File Reference#

Rocprofiler SDK Developer API: rocprofiler-sdk/amd_detail/thread_trace_dispatch.h File Reference
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
thread_trace_dispatch.h File Reference
+ Include dependency graph for thread_trace_dispatch.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef 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.
 

Enumerations

enum  rocprofiler_att_control_flags_t {
  ROCPROFILER_ATT_CONTROL_NONE = 0 ,
  ROCPROFILER_ATT_CONTROL_START_AND_STOP = 3
}
 

Functions

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 enable/disable thread trace on every dispatch callback. This service enables kernel serialization.