|
struct | rocprofiler_session_id_t |
| Session Identifier. More...
|
|
struct | rocprofiler_timestamp_t |
| ROCProfiling Timestamp Type. More...
|
|
struct | rocprofiler_record_header_timestamp_t |
| Timestamps (start & end), it will be used for kernel dispatch tracing as well as API Tracing. More...
|
|
struct | rocprofiler_record_id_t |
| A unique identifier for every record. More...
|
|
struct | rocprofiler_record_header_t |
| Generic ROCProfiler record header. More...
|
|
struct | rocprofiler_agent_id_t |
| Agent ID handle, which represents a unique id to the agent reported as it can be used to retrieve Agent information using rocprofiler_query_agent_info, Agents can be CPUs or GPUs. More...
|
|
struct | rocprofiler_queue_id_t |
| Unique ID handle to represent an HSA Queue of type hsa_queue_t , this id can be used by the user to get queue information using rocprofiler_query_queue_info. More...
|
|
struct | rocprofiler_kernel_id_t |
| Kernel identifier that represent a unique id for every kernel. More...
|
|
struct | rocprofiler_thread_id_t |
| Holds the thread id. More...
|
|
struct | rocprofiler_counter_info_t |
|
struct | rocprofiler_counter_id_t |
| Counter ID to be used to query counter information using rocprofiler_query_counter_info. More...
|
|
struct | rocprofiler_queue_index_t |
|
struct | rocprofiler_record_counter_value_t |
| Counter Value Structure. More...
|
|
struct | rocprofiler_record_counter_instance_t |
| Counter Instance Structure, it will represent every counter reported in the array of counters reported by every profiler record if counters were needed to be collected. More...
|
|
struct | rocprofiler_record_counters_instances_count_t |
| Counters Instances Count Structure, every profiling record has this structure included to report the number of counters collected for this kernel dispatch. More...
|
|
struct | rocprofiler_kernel_properties_t |
| Kernel properties, this will represent the kernel properties such as its grid size, workgroup size, wave_size. More...
|
|
struct | rocprofiler_record_profiler_t |
| Profiling record, this will represent all the information reported by the profiler regarding kernel dispatches and their counters that were collected by the profiler and requested by the user, this can be used as the type of the flushed records that is reported to the user using rocprofiler_buffer_callback_t. More...
|
|
struct | rocprofiler_event_id_t |
|
struct | rocprofiler_record_spm_counters_instances_count_t |
|
struct | rocprofiler_record_se_spm_data_t |
| Counters, including identifiers to get counter information and Counters values. More...
|
|
struct | rocprofiler_record_spm_t |
| SPM record, this will represent all the information reported by the SPM regarding counters and their timestamps this can be used as the type of the flushed records that is reported to the user using rocprofiler_buffer_callback_t. More...
|
|
struct | rocprofiler_record_se_att_data_t |
| struct to store the trace data from a shader engine. More...
|
|
struct | rocprofiler_record_att_tracer_t |
| ATT tracing record structure. More...
|
|
struct | rocprofiler_tracer_operation_id_t |
| Tracing Operation ID for HIP/HSA. More...
|
|
struct | rocprofiler_tracer_activity_correlation_id_t |
| Correlation identifier. More...
|
|
struct | rocprofiler_tracer_api_data_handle_t |
| Tracer API Calls Data Handler. More...
|
|
struct | rocprofiler_tracer_external_id_t |
| Tracing external ID. More...
|
|
struct | rocprofiler_record_tracer_t |
| Tracing record, this will represent all the information reported by the tracer regarding APIs and their data that were traced and collected by the tracer and requested by the user, this can be used as the type of the flushed records that is reported to the user using ::rocprofiler_buffer_async_callback_t. More...
|
|
struct | rocprofiler_kernel_dispatch_id_t |
| Kernel dispatch correlation ID, unique across all dispatches. More...
|
|
struct | rocprofiler_pc_sample_t |
| An individual PC sample. More...
|
|
struct | rocprofiler_record_pc_sample_t |
| PC sample record: contains the program counter/instruction pointer observed during periodic sampling of a kernel. More...
|
|
struct | rocprofiler_buffer_property_t |
|
struct | rocprofiler_buffer_id_t |
|
struct | rocprofiler_filter_id_t |
|
struct | rocprofiler_att_parameter_t |
|
struct | rocprofiler_filter_property_t |
| Filter Data Type filter data will be used to report required and optional filters for the sessions using ::rocprofiler_session_add_filters. More...
|
|
struct | rocprofiler_spm_parameter_t |
|
struct | rocprofiler_counters_sampler_counter_input_t |
|
struct | rocprofiler_counters_sampler_counter_output_t |
|
struct | rocprofiler_counters_sampler_parameters_t |
|
struct | rocprofiler_record_counters_sampler_t |
|
union | rocprofiler_filter_data_t |
| Filter Kind Data. More...
|
|
struct | rocprofiler_counter_value_t |
|
struct | rocprofiler_device_profile_metric_t |
|
|
ROCPROFILER_API uint32_t | rocprofiler_version_major () |
| Query the major version of the installed library. More...
|
|
ROCPROFILER_API uint32_t | rocprofiler_version_minor () |
| Query the minor version of the installed library. More...
|
|
ROCPROFILER_API const char * | rocprofiler_error_str (rocprofiler_status_t status) ROCPROFILER_VERSION_9_0 |
| Query the textual description of the given error for the current thread. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_initialize () ROCPROFILER_VERSION_9_0 |
| Initialize the API Tools. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_finalize () ROCPROFILER_VERSION_9_0 |
| Finalize the API Tools. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_get_timestamp (rocprofiler_timestamp_t *timestamp) ROCPROFILER_VERSION_9_0 |
| Get the system clock timestamp. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_agent_info_size (rocprofiler_agent_info_kind_t kind, rocprofiler_agent_id_t agent_id, size_t *data_size) ROCPROFILER_VERSION_9_0 |
| Query Agent Information size to allow the user to allocate the right size for the information data requested, the information will be collected using rocprofiler_agent_id_t to identify one type of information available in ::rocprofiler_agent_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_agent_info (rocprofiler_agent_info_kind_t kind, rocprofiler_agent_id_t descriptor, const char **name) ROCPROFILER_VERSION_9_0 |
| Query Agent Information Data using an allocated data pointer by the user, user can get the size of the data using rocprofiler_query_agent_info_size, the user can get the data using rocprofiler_agent_id_t and the user need to identify one type of information available in ::rocprofiler_agent_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_queue_info_size (rocprofiler_queue_info_kind_t kind, rocprofiler_queue_id_t agent_id, size_t *data_size) ROCPROFILER_VERSION_9_0 |
| Query Queue Information size to allow the user to allocate the right size for the information data requested, the information will be collected using rocprofiler_queue_id_t by using rocprofiler_query_queue_info and the user need to identify one type of information available in ::rocprofiler_queue_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_queue_info (rocprofiler_queue_info_kind_t kind, rocprofiler_queue_id_t descriptor, const char **name) ROCPROFILER_VERSION_9_0 |
| Query Queue Information Data using an allocated data pointer by the user, user can get the size of the data using rocprofiler_query_queue_info_size, the user can get the data using rocprofiler_queue_id_t and the user need to identify one type of information available in ::rocprofiler_queue_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_kernel_info_size (rocprofiler_kernel_info_kind_t kind, rocprofiler_kernel_id_t kernel_id, size_t *data_size) ROCPROFILER_VERSION_9_0 |
| Query Kernel Information Data size to allow the user to allocate the right size for the information data requested, the information will be collected using rocprofiler_kernel_id_t by using rocprofiler_query_kernel_info and the user need to identify one type of information available in ::rocprofiler_kernel_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_kernel_info (rocprofiler_kernel_info_kind_t kind, rocprofiler_kernel_id_t kernel_id, const char **data) ROCPROFILER_VERSION_9_0 |
| Query Kernel Information Data using an allocated data pointer by the user, user can get the size of the data using rocprofiler_query_kernel_info_size, the user can get the data using rocprofiler_kernel_id_t and the user need to identify one type of information available in ::rocprofiler_kernel_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_iterate_counters (rocprofiler_counters_info_callback_t counters_info_callback) ROCPROFILER_VERSION_9_0 |
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_counter_info_size (rocprofiler_session_id_t session_id, rocprofiler_counter_info_kind_t counter_info_type, rocprofiler_counter_id_t counter_id, size_t *data_size) ROCPROFILER_VERSION_9_0 |
| Query Counter Information Data size to allow the user to allocate the right size for the information data requested, the information will be collected using rocprofiler_counter_id_t by using rocprofiler_query_counter_info and the user need to identify one type of information available in rocprofiler_counter_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_counter_info (rocprofiler_session_id_t session_id, rocprofiler_counter_info_kind_t kind, rocprofiler_counter_id_t counter_id, const char **data) ROCPROFILER_VERSION_9_0 |
| Query Counter Information Data using an allocated data pointer by the user, user can get the size of the data using rocprofiler_query_counter_info_size, the user can get the data using rocprofiler_counter_id_t and the user need to identify one type of information available in rocprofiler_counter_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_roctx_tracer_api_data_info_size (rocprofiler_session_id_t session_id, rocprofiler_tracer_roctx_api_data_info_t kind, rocprofiler_tracer_api_data_handle_t api_data_id, rocprofiler_tracer_operation_id_t operation_id, size_t *data_size) ROCPROFILER_VERSION_9_0 |
| Query Tracer API Call Data Information size to allow the user to allocate the right size for the information data requested, the information will be collected using ::rocprofiler_tracer_api_data_id_t by using ::rocprofiler_query_tracer_api_data_info and the user need to identify one type of information available in ::rocprofiler_query_tracer_api_data_info. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_roctx_tracer_api_data_info (rocprofiler_session_id_t session_id, rocprofiler_tracer_roctx_api_data_info_t kind, rocprofiler_tracer_api_data_handle_t api_data_id, rocprofiler_tracer_operation_id_t operation_id, char **data) ROCPROFILER_VERSION_9_0 |
| Query API Data Information using an allocated data pointer by the user, user can get the size of the data using ::rocprofiler_query_tracer_api_data_info_length, the user can get the data using ::rocprofiler_tracer_api_data_id_t and the user need to identify one type of information available in ::rocprofiler_tracer_api_data_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_hsa_tracer_api_data_info_size (rocprofiler_session_id_t session_id, rocprofiler_tracer_hsa_api_data_info_t kind, rocprofiler_tracer_api_data_handle_t api_data_id, rocprofiler_tracer_operation_id_t operation_id, size_t *data_size) ROCPROFILER_VERSION_9_0 |
| Query Tracer API Call Data Information size to allow the user to allocate the right size for the information data requested, the information will be collected using ::rocprofiler_tracer_api_data_id_t by using ::rocprofiler_query_tracer_api_data_info and the user need to identify one type of information available in ::rocprofiler_query_tracer_api_data_info. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_hsa_tracer_api_data_info (rocprofiler_session_id_t session_id, rocprofiler_tracer_hsa_api_data_info_t kind, rocprofiler_tracer_api_data_handle_t api_data_id, rocprofiler_tracer_operation_id_t operation_id, char **data) ROCPROFILER_VERSION_9_0 |
| Query API Data Information using an allocated data pointer by the user, user can get the size of the data using ::rocprofiler_query_tracer_api_data_info_length, the user can get the data using ::rocprofiler_tracer_api_data_id_t and the user need to identify one type of information available in ::rocprofiler_tracer_api_data_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_hip_tracer_api_data_info_size (rocprofiler_session_id_t session_id, rocprofiler_tracer_hip_api_data_info_t kind, rocprofiler_tracer_api_data_handle_t api_data_id, rocprofiler_tracer_operation_id_t operation_id, size_t *data_size) ROCPROFILER_VERSION_9_0 |
| Query Tracer API Call Data Information size to allow the user to allocate the right size for the information data requested, the information will be collected using ::rocprofiler_tracer_api_data_id_t by using ::rocprofiler_query_tracer_api_data_info and the user need to identify one type of information available in ::rocprofiler_query_tracer_api_data_info. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_query_hip_tracer_api_data_info (rocprofiler_session_id_t session_id, rocprofiler_tracer_hip_api_data_info_t kind, rocprofiler_tracer_api_data_handle_t api_data_id, rocprofiler_tracer_operation_id_t operation_id, char **data) ROCPROFILER_VERSION_9_0 |
| Query API Data Information using an allocated data pointer by the user, user can get the size of the data using ::rocprofiler_query_tracer_api_data_info_length, the user can get the data using ::rocprofiler_tracer_api_data_id_t and the user need to identify one type of information available in ::rocprofiler_tracer_api_data_info_t. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_flush_data (rocprofiler_session_id_t session_id, rocprofiler_buffer_id_t buffer_id) ROCPROFILER_VERSION_9_0 |
| Flush specific Buffer. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_next_record (const rocprofiler_record_header_t *record, const rocprofiler_record_header_t **next, rocprofiler_session_id_t session_id, rocprofiler_buffer_id_t buffer_id) ROCPROFILER_VERSION_9_0 |
| Get a pointer to the next profiling record. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_create_session (rocprofiler_replay_mode_t replay_mode, rocprofiler_session_id_t *session_id) ROCPROFILER_VERSION_9_0 |
| Create Session A ROCProfiler Session is having enough information about what needs to be collected or traced and it allows the user to start/stop profiling/tracing whenever required. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_destroy_session (rocprofiler_session_id_t session_id) ROCPROFILER_VERSION_9_0 |
| Destroy Session Destroy session created by rocprofiler_create_session, please refer to the samples for how to use. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_create_filter (rocprofiler_session_id_t session_id, rocprofiler_filter_kind_t filter_kind, rocprofiler_filter_data_t data, uint64_t data_count, rocprofiler_filter_id_t *filter_id, rocprofiler_filter_property_t property) ROCPROFILER_VERSION_9_0 |
| Create Session Filter This function will create filter and associate it with a specific session For every kind, one filter only is allowed per session. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_set_filter_buffer (rocprofiler_session_id_t session_id, rocprofiler_filter_id_t filter_id, rocprofiler_buffer_id_t buffer_id) ROCPROFILER_VERSION_9_0 |
| Set Session Filter Buffer This function will associate buffer to a specific filter. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_set_api_trace_sync_callback (rocprofiler_session_id_t session_id, rocprofiler_filter_id_t filter_id, rocprofiler_sync_callback_t callback) ROCPROFILER_VERSION_9_0 |
| Set Session API Tracing Filter Synchronous Callback This function will associate buffer to a specific filter. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_destroy_filter (rocprofiler_session_id_t session_id, rocprofiler_filter_id_t filter_id) ROCPROFILER_VERSION_9_0 |
| Destroy Session Filter This function will destroy a specific filter. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_create_buffer (rocprofiler_session_id_t session_id, rocprofiler_buffer_callback_t buffer_callback, size_t buffer_size, rocprofiler_buffer_id_t *buffer_id) ROCPROFILER_VERSION_9_0 |
| Create Buffer This function will create a buffer that can be associated with a filter. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_set_buffer_properties (rocprofiler_session_id_t session_id, rocprofiler_buffer_id_t buffer_id, rocprofiler_buffer_property_t *buffer_properties, uint32_t buffer_properties_count) ROCPROFILER_VERSION_9_0 |
| Setting Buffer Properties This function will set buffer properties. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_destroy_buffer (rocprofiler_session_id_t session_id, rocprofiler_buffer_id_t buffer_id) ROCPROFILER_VERSION_9_0 |
| Destroy Buffer This function will destroy a buffer given its id and session id. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_create_ready_session (rocprofiler_replay_mode_t replay_mode, rocprofiler_filter_kind_t filter_kind, rocprofiler_filter_data_t data, uint64_t data_count, size_t buffer_size, rocprofiler_buffer_callback_t buffer_callback, rocprofiler_session_id_t *session_id, rocprofiler_filter_property_t property, rocprofiler_sync_callback_t callback) ROCPROFILER_VERSION_9_0 |
| Create Ready Session A one call to create a ready profiling or tracing session, so that the session will be ready to collect counters with a one call to rocprofiler_start_session. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_start_session (rocprofiler_session_id_t session_id) ROCPROFILER_VERSION_9_0 |
| Activate Session Activating session created by rocprofiler_create_session, please refer to the samples for how to use. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_terminate_session (rocprofiler_session_id_t session_id) ROCPROFILER_VERSION_9_0 |
| Deactivate Session Deactivate session created by rocprofiler_create_session, please refer to the samples for how to use. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_push_range (const char *label) ROCPROFILER_VERSION_9_0 |
| Setting a label to a block range This can be used to label a range of code that is having active profiling session or labeling a pass. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_pop_range () ROCPROFILER_VERSION_9_0 |
| Setting an endpoint for a range This function can be used to set an endpoint to range labeled by rocprofiler_push_range. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_start_replay_pass () ROCPROFILER_VERSION_9_0 |
| Create and Start a pass A Pass is a block of code that can be replayed if required by the profiling/tracing and it mainly depends on the profiling data given in the rocprofiler_create_session. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_end_replay_pass () ROCPROFILER_VERSION_9_0 |
| End a pass End a pass created and started by ::rocprofiler_start_pass. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_device_profiling_session_create (const char **counter_names, uint64_t num_counters, rocprofiler_session_id_t *session_id, int cpu_index, int gpu_index) ROCPROFILER_VERSION_9_0 |
| Create a device profiling session. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_device_profiling_session_start (rocprofiler_session_id_t session_id) ROCPROFILER_VERSION_9_0 |
| Start the device profiling session that was created previously. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_device_profiling_session_poll (rocprofiler_session_id_t session_id, rocprofiler_device_profile_metric_t *data) ROCPROFILER_VERSION_9_0 |
| Poll the device profiling session to read counters from the GPU device. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_device_profiling_session_stop (rocprofiler_session_id_t session_id) ROCPROFILER_VERSION_9_0 |
| Stop the device profiling session that was created previously. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_device_profiling_session_destroy (rocprofiler_session_id_t session_id) ROCPROFILER_VERSION_9_0 |
| Destroy the device profiling session that was created previously. More...
|
|
ROCPROFILER API interface.