rocprofiler-sdk/amd_detail/thread_trace_core.h Source File#
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
|
thread_trace_core.h
Go to the documentation of this file.
81 * If the caller's length is insufficient, then this function writes the minimum sizes to isa_size
83 * If call returns ROCPROFILER_STATUS_SUCCESS, isa_size and source_size are written with bytes used.
uint64_t timestamp
Definition thread_trace_core.h:144
uint64_t marker_id
Definition thread_trace_core.h:142
rocprofiler_att_parameter_type_t type
Definition thread_trace_core.h:52
rocprofiler_status_t rocprofiler_att_parse_data(rocprofiler_att_parser_se_data_callback_t se_data_callback, rocprofiler_att_parser_trace_callback_t trace_callback, rocprofiler_att_parser_isa_callback_t isa_callback, void *userdata)
Iterate over all event coordinates for a given agent_t and event_t.
rocprofiler_status_t(* rocprofiler_att_parser_isa_callback_t)(char *isa_instruction, uint64_t *isa_memory_size, uint64_t *isa_size, uint64_t marker_id, uint64_t offset, void *userdata)
Callback for rocprofiler to parsed ATT data. The caller must copy a desired instruction on isa_instru...
Definition thread_trace_core.h:96
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
void(* rocprofiler_att_parser_trace_callback_t)(rocprofiler_att_parser_data_type_t type, void *att_data, void *userdata)
Callback for rocprofiler to return traces back to rocprofiler.
Definition thread_trace_core.h:153
rocprofiler_att_parser_data_type_t
Definition thread_trace_core.h:127
uint64_t(* rocprofiler_att_parser_se_data_callback_t)(int *shader_engine_id, uint8_t **buffer, uint64_t *buffer_size, void *userdata)
Callback for the ATT parser to retrieve Shader Engine data. Returns the amount of data filled....
Definition thread_trace_core.h:121
@ ROCPROFILER_ATT_PARAMETER_SHADER_ENGINE_MASK
Bitmask of shader engines.
Definition thread_trace_core.h:42
@ ROCPROFILER_ATT_PARAMETER_SIMD_SELECT
Bitmask (GFX9) or ID (Navi) of SIMDs.
Definition thread_trace_core.h:44
@ ROCPROFILER_ATT_PARAMETER_BUFFER_SIZE
Size of combined GPU buffer for ATT.
Definition thread_trace_core.h:43
@ ROCPROFILER_ATT_PARAMETER_PERFCOUNTERS_CTRL
Definition thread_trace_core.h:45
@ ROCPROFILER_ATT_PARAMETER_PERFCOUNTER
Definition thread_trace_core.h:46
@ ROCPROFILER_ATT_PARSER_DATA_TYPE_ISA
Definition thread_trace_core.h:128
@ ROCPROFILER_ATT_PARSER_DATA_TYPE_OCCUPANCY
Definition thread_trace_core.h:129
Generated by 1.9.8