rocprofiler-sdk/pc_sampling.h Source File#
Rocprofiler SDK Developer API 0.6.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
109 * @retval ::ROCPROFILER_STATUS_ERROR_INCOMPATIBLE_KERNEL the amdgpu driver installed on the system
188 * @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:603
uint64_t code_object_id
id of the loaded code object instance that contains sampled PC. This fields holds the value ROCPROFIL...
Definition pc_sampling.h:225
uint64_t workgroup_id
thread_group index on GFX9, and workgroup index on GFX10+
Definition pc_sampling.h:213
uint64_t cu_or_wgp_id
Index of compute unit on GFX9 or workgroup processer on other architectures.
Definition pc_sampling.h:209
unsigned long max_interval
the lowest possible frequency for generating samples using method
Definition pc_sampling.h:133
rocprofiler_correlation_id_t correlation_id
API launch call id that matches dispatch ID.
Definition pc_sampling.h:257
unsigned long min_interval
the highest possible frequencey for generating samples using method.
Definition pc_sampling.h:132
rocprofiler_pc_sampling_hw_id_v0_t hw_id
Definition pc_sampling.h:252
uint64_t code_object_offset
If code_object_id is different than ROCPROFILER_CODE_OBJECT_ID_NONE, then this field contains the off...
Definition pc_sampling.h:226
rocprofiler_pc_sampling_unit_t unit
A unit used to specify the interval of the method for samples generation.
Definition pc_sampling.h:131
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:166
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, int flags)
Function used to configure the PC sampling service on the GPU agent with agent_id.
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.
PC sampling configuration supported by a GPU agent.
Definition pc_sampling.h:128
Information about the GPU part where wave was executing at the moment of sampling.
Definition pc_sampling.h:204
ROCProfiler Host-Trap PC Sampling Record.
Definition pc_sampling.h:250
Generated by 1.9.8