|
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_tracer_operation_name (rocprofiler_tracer_activity_domain_t domain, rocprofiler_tracer_operation_id_t operation_id, const char **name) |
| Get Tracer API Function Name. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_tracer_operation_id (rocprofiler_tracer_activity_domain_t domain, const char *name, rocprofiler_tracer_operation_id_t *operation_id) |
| Get Tracer API Operation ID. 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_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 rocprofiler_status_t | rocprofiler_codeobj_capture_create (rocprofiler_record_id_t *id, rocprofiler_codeobj_capture_mode_t mode, uint64_t userdata) |
| Creates a codeobj capture record, returned in ID. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_codeobj_capture_get (rocprofiler_record_id_t id, rocprofiler_codeobj_symbols_t *capture) |
| API to get the captured codeobj. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_codeobj_capture_free (rocprofiler_record_id_t id) |
| API to delete a record. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_codeobj_capture_start (rocprofiler_record_id_t id) |
| Records the current loaded codeobjs and any following loads until stop() is called. More...
|
|
ROCPROFILER_API rocprofiler_status_t | rocprofiler_codeobj_capture_stop (rocprofiler_record_id_t id) |
| Stops recording of future codeobjs, until start() is called again. More...
|
|