|
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...
|
|
hsa_status_t | rocprofiler_error_string (const char **str) |
|
hsa_status_t | rocprofiler_open (hsa_agent_t agent, rocprofiler_feature_t *features, uint32_t feature_count, rocprofiler_t **context, uint32_t mode, rocprofiler_properties_t *properties) |
|
hsa_status_t | rocprofiler_add_feature (const rocprofiler_feature_t *feature, rocprofiler_feature_set_t *features_set) |
|
hsa_status_t | rocprofiler_features_set_open (hsa_agent_t agent, rocprofiler_feature_set_t *features_set, rocprofiler_t **context, uint32_t mode, rocprofiler_properties_t *properties) |
|
hsa_status_t | rocprofiler_close (rocprofiler_t *context) |
|
hsa_status_t | rocprofiler_reset (rocprofiler_t *context, uint32_t group_index) |
|
hsa_status_t | rocprofiler_get_agent (rocprofiler_t *context, hsa_agent_t *agent) |
|
hsa_status_t | rocprofiler_get_time (rocprofiler_time_id_t time_id, uint64_t timestamp, uint64_t *value_ns, uint64_t *error_ns) |
|
hsa_status_t | rocprofiler_set_queue_callbacks (rocprofiler_queue_callbacks_t callbacks, void *data) |
|
hsa_status_t | rocprofiler_remove_queue_callbacks () |
|
hsa_status_t | rocprofiler_start_queue_callbacks () |
|
hsa_status_t | rocprofiler_stop_queue_callbacks () |
|
hsa_status_t | rocprofiler_start (rocprofiler_t *context, uint32_t group_index) |
|
hsa_status_t | rocprofiler_stop (rocprofiler_t *context, uint32_t group_index) |
|
hsa_status_t | rocprofiler_read (rocprofiler_t *context, uint32_t group_index) |
|
hsa_status_t | rocprofiler_get_data (rocprofiler_t *context, uint32_t group_index) |
|
hsa_status_t | rocprofiler_group_count (const rocprofiler_t *context, uint32_t *group_count) |
|
hsa_status_t | rocprofiler_get_group (rocprofiler_t *context, uint32_t group_index, rocprofiler_group_t *group) |
|
hsa_status_t | rocprofiler_group_start (rocprofiler_group_t *group) |
|
hsa_status_t | rocprofiler_group_stop (rocprofiler_group_t *group) |
|
hsa_status_t | rocprofiler_group_read (rocprofiler_group_t *group) |
|
hsa_status_t | rocprofiler_group_get_data (rocprofiler_group_t *group) |
|
hsa_status_t | rocprofiler_get_metrics (const rocprofiler_t *context) |
|
hsa_status_t | rocprofiler_iterate_trace_data (rocprofiler_t *context, rocprofiler_trace_data_callback_t callback, void *data) |
|
hsa_status_t | rocprofiler_get_info (const hsa_agent_t *agent, rocprofiler_info_kind_t kind, void *data) |
|
hsa_status_t | rocprofiler_iterate_info (const hsa_agent_t *agent, rocprofiler_info_kind_t kind, hsa_status_t(*callback)(const rocprofiler_info_data_t info, void *data), void *data) |
|
hsa_status_t | rocprofiler_query_info (const hsa_agent_t *agent, rocprofiler_info_query_t query, hsa_status_t(*callback)(const rocprofiler_info_data_t info, void *data), void *data) |
|
hsa_status_t | rocprofiler_queue_create_profiled (hsa_agent_t agent_handle, uint32_t size, hsa_queue_type32_t type, void(*callback)(hsa_status_t status, hsa_queue_t *source, void *data), void *data, uint32_t private_segment_size, uint32_t group_segment_size, hsa_queue_t **queue) |
|
hsa_status_t | rocprofiler_pool_open (hsa_agent_t agent, rocprofiler_feature_t *features, uint32_t feature_count, rocprofiler_pool_t **pool, uint32_t mode, rocprofiler_pool_properties_t *) |
|
hsa_status_t | rocprofiler_pool_close (rocprofiler_pool_t *pool) |
|
hsa_status_t | rocprofiler_pool_fetch (rocprofiler_pool_t *pool, rocprofiler_pool_entry_t *entry) |
|
hsa_status_t | rocprofiler_pool_release (rocprofiler_pool_entry_t *entry) |
|
hsa_status_t | rocprofiler_pool_iterate (rocprofiler_pool_t *pool, hsa_status_t(*callback)(rocprofiler_pool_entry_t *entry, void *data), void *data) |
|
hsa_status_t | rocprofiler_pool_flush (rocprofiler_pool_t *pool) |
|
hsa_status_t | rocprofiler_set_hsa_callbacks (const rocprofiler_hsa_callbacks_t callbacks, void *arg) |
|