rocprofiler-sdk/pc_sampling.h Source File#
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
|
pc_sampling.h
Go to the documentation of this file.
79 * When this status code is observed by the tool TA, it queries all available configurations again
108 * @retval ::ROCPROFILER_STATUS_ERROR_INCOMPATIBLE_KERNEL the amdgpu driver installed on the system
186 * @retval ::ROCPROFILER_STATUS_ERROR_INCOMPATIBLE_KERNEL the amdgpu driver installed on the system
Multi-dimensional struct of data used to describe GPU workgroup and grid sizes.
Definition fwd.h:570
uint32_t reason_not_issued
Definition pc_sampling.h:237
uint32_t dual_issue_valu
Definition pc_sampling.h:235
uint64_t exec_mask
shows how many SIMD lanes of the wave were executing the instruction represented by the pc....
Definition pc_sampling.h:282
rocprofiler_correlation_id_t correlation_id
correlation id of the API call that initiated a dispatch of the kernel during whose execution the wav...
Definition pc_sampling.h:286
rocprofiler_pc_sampling_header_v1_t flags
indicates what fields of this struct are meaningful for the represented sample. The values depend on ...
Definition pc_sampling.h:275
uint8_t has_wave_cnt
whether the rocprofiler_pc_sampling_record_t::wave_count contains meaningful value
Definition pc_sampling.h:207
uint32_t arb_state_stall
Definition pc_sampling.h:239
uint8_t wave_issued
indicates whether the wave is issueing the instruction represented by the pc
Definition pc_sampling.h:278
uint32_t arb_state_issue
Definition pc_sampling.h:238
unsigned long max_interval
the lowest possible frequency for generating samples using method
Definition pc_sampling.h:131
uint64_t loaded_code_object_id
id of the loaded code object instance that contains sampled PC. This fields holds the value ROCPROFIL...
Definition pc_sampling.h:247
rocprofiler_pc_sampling_snapshot_v1_t snapshot
Definition pc_sampling.h:288
unsigned long min_interval
the highest possible frequencey for generating samples using method.
Definition pc_sampling.h:130
uint32_t wave_count
number of active waves on the CU at the moment of sample generation
Definition pc_sampling.h:284
uint8_t has_stall_reason
whether the sample contains information about the stall reason. If so, please
Definition pc_sampling.h:206
uint64_t loaded_code_object_offset
If loaded_code_object_id is different than ROCPROFILER_CODE_OBJECT_ID_NONE, then this field contains ...
Definition pc_sampling.h:248
rocprofiler_pc_sampling_unit_t unit
A unit used to specify the interval of the method for samples generation.
Definition pc_sampling.h:129
rocprofiler_status_t(* rocprofiler_available_pc_sampling_configurations_cb_t)(const rocprofiler_pc_sampling_configuration_t *configs, unsigned long num_config, void *user_data)
Rocprofiler SDK's callback function to deliver the list of available PC sampling configurations upon ...
Definition pc_sampling.h:164
rocprofiler_status_t rocprofiler_query_pc_sampling_agent_configurations(rocprofiler_agent_id_t agent_id, rocprofiler_available_pc_sampling_configurations_cb_t cb, void *user_data)
Query PC Sampling Configuration.
rocprofiler_status_t rocprofiler_configure_pc_sampling_service(rocprofiler_context_id_t context_id, rocprofiler_agent_id_t agent_id, rocprofiler_pc_sampling_method_t method, rocprofiler_pc_sampling_unit_t unit, uint64_t interval, rocprofiler_buffer_id_t buffer_id)
Function used to configure the PC sampling service on the GPU agent with agent_id.
PC sampling configuration supported by a GPU agent.
Definition pc_sampling.h:126
The header of the rocprofiler_pc_sampling_record_t, indicating what fields of the rocprofiler_pc_samp...
Definition pc_sampling.h:203
ROCProfiler PC Sampling Record corresponding to the interrupted wave.
Definition pc_sampling.h:273
Generated by 1.9.8