rocprofiler-sdk/experimental/spm.h Source File#
|
ROCprofiler-SDK developer API 1.4.1
ROCm Profiling API and tools
|
spm.h
137 * @retval ROCPROFILER_STATUS_ERROR_METRIC_NOT_VALID_FOR_AGENT if agent does not support an input
140 * @retval ROCPROFILER_STATUS_ERROR_NOT_IMPLEMENTED if the ROCPROFILER_SPM_BETA_ENABLED is not set
143 * @retval ROCPROFILER_STATUS_ERROR_COUNTER_NOT_FOUND if an input counter is not found in metrics
167rocprofiler_spm_destroy_counter_config(rocprofiler_counter_config_id_t config_id) ROCPROFILER_API;
229 * kernel is enqueued into the HSA queue. What counters to collect for a kernel are set via passing
230 * back a profile config (config) in this callback. These counters will be collected and emplaced in
231 * the buffer with ::rocprofiler_buffer_id_t used when setting up this callback or will be returned
276 * @retval ROCPROFILER_STATUS_ERROR_NOT_IMPLEMENTED if the ROCPROFILER_SPM_BETA_ENABLED is not set
308 * @retval ROCPROFILER_STATUS_ERROR_NOT_IMPLEMENTED if the ROCPROFILER_SPM_BETA_ENABLED is not set
uint64_t rocprofiler_counter_instance_id_t
Unique record id encoding both the counter and dimensional values (positions) for the record.
Definition fwd.h:629
ROCProfiler Correlation ID record for async activity.
Definition fwd.h:756
rocprofiler_status_t(* rocprofiler_available_counters_cb_t)(rocprofiler_agent_id_t agent_id, rocprofiler_counter_id_t *counters, unsigned long num_counters, void *user_data)
(experimental) Callback that gives a list of counters available on an agent. The counters variable is...
Definition counters.h:204
(experimental) Describes an available SPM configuration for an agent.
Definition spm.h:49
rocprofiler_spm_parameter_type_t type
The SPM parameter type; used to tag the union below.
Definition spm.h:51
(experimental) Kernel dispatch data for profile counting callbacks.
Definition spm.h:187
rocprofiler_async_correlation_id_t correlation_id
Correlation ID for this dispatch.
Definition spm.h:189
Generated by