rocprofiler-sdk/dispatch_counting_service.h Source File#
|
ROCprofiler-SDK developer API 1.0.0
ROCm Profiling API and tools
|
dispatch_counting_service.h
70 * kernel is enqueued into the HSA queue. What counters to collect for a kernel are set via passing
71 * back a profile config (config) in this callback. These counters will be collected and emplaced in
ROCProfiler Correlation ID record for async activity.
Definition fwd.h:643
(experimental) ROCProfiler Profile Counting Counter Record per instance.
Definition fwd.h:835
rocprofiler_kernel_dispatch_info_t dispatch_info
Contains the dispatch_id
Definition dispatch_counting_service.h:65
rocprofiler_timestamp_t end_timestamp
end time in nanoseconds
Definition dispatch_counting_service.h:64
rocprofiler_async_correlation_id_t correlation_id
Correlation ID for this dispatch.
Definition dispatch_counting_service.h:47
rocprofiler_kernel_dispatch_info_t dispatch_info
Dispatch info.
Definition dispatch_counting_service.h:50
rocprofiler_async_correlation_id_t correlation_id
Correlation ID for this dispatch.
Definition dispatch_counting_service.h:62
rocprofiler_timestamp_t start_timestamp
start time in nanoseconds
Definition dispatch_counting_service.h:63
uint64_t num_records
number of rocprofiler_counter_record_t records
Definition dispatch_counting_service.h:61
rocprofiler_timestamp_t start_timestamp
start time in nanoseconds
Definition dispatch_counting_service.h:48
rocprofiler_timestamp_t end_timestamp
end time in nanoseconds
Definition dispatch_counting_service.h:49
rocprofiler_status_t rocprofiler_configure_callback_dispatch_counting_service(rocprofiler_context_id_t context_id, rocprofiler_dispatch_counting_service_cb_t dispatch_callback, void *dispatch_callback_args, rocprofiler_dispatch_counting_record_cb_t record_callback, void *record_callback_args)
(experimental) Configure buffered dispatch profile Counting Service. Collects the counters in dispatc...
void(* rocprofiler_dispatch_counting_record_cb_t)(rocprofiler_dispatch_counting_service_data_t dispatch_data, rocprofiler_counter_record_t *record_data, unsigned long record_count, rocprofiler_user_data_t user_data, void *callback_data_args)
(experimental) Counting record callback. This is a callback is invoked when the kernel execution is c...
Definition dispatch_counting_service.h:99
void(* rocprofiler_dispatch_counting_service_cb_t)(rocprofiler_dispatch_counting_service_data_t dispatch_data, rocprofiler_counter_config_id_t *config, rocprofiler_user_data_t *user_data, void *callback_data_args)
(experimental) Kernel Dispatch Callback. This is a callback that is invoked before the kernel is enqu...
Definition dispatch_counting_service.h:80
rocprofiler_status_t rocprofiler_configure_buffer_dispatch_counting_service(rocprofiler_context_id_t context_id, rocprofiler_buffer_id_t buffer_id, rocprofiler_dispatch_counting_service_cb_t callback, void *callback_data_args)
(experimental) Configure buffered dispatch profile Counting Service. Collects the counters in dispatc...
(experimental) Kernel dispatch data for profile counting callbacks.
Definition dispatch_counting_service.h:45
(experimental) ROCProfiler Profile Counting Counter Record Header Information
Definition dispatch_counting_service.h:59
Generated by