rocprofiler-sdk/pc_sampling.h File Reference

rocprofiler-sdk/pc_sampling.h File Reference#

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

Go to the source code of this file.

Data Structures

struct  rocprofiler_pc_sampling_configuration_t
 PC sampling configuration supported by a GPU agent. More...
 
struct  rocprofiler_pc_sampling_hw_id_v0_t
 Information about the GPU part where wave was executing at the moment of sampling. More...
 
struct  rocprofiler_pc_t
 Sampled program counter. More...
 
struct  rocprofiler_pc_sampling_record_host_trap_v0_t
 ROCProfiler Host-Trap PC Sampling Record. More...
 

Typedefs

typedef 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 the call to the rocprofiler_query_pc_sampling_agent_configurations.
 

Functions

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.