rocprofiler-sdk/counters.h Source File#
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
|
counters.h
Go to the documentation of this file.
103 * @param [in] version Version of struct in info, see @ref rocprofiler_counter_info_version_id_t for
uint64_t rocprofiler_counter_dimension_id_t
A dimension for counter instances. Some example dimensions include XCC, SM (Shader),...
Definition fwd.h:478
uint64_t rocprofiler_counter_instance_id_t
Unique record id encoding both the counter and dimensional values (positions) for the record.
Definition fwd.h:470
rocprofiler_counter_info_version_id_t
Enumeration for specifying the counter info struct version you want.
Definition fwd.h:381
Details for the dimension, including its size, for a counter record.
Definition fwd.h:674
rocprofiler_status_t rocprofiler_iterate_counter_dimensions(rocprofiler_counter_id_t id, rocprofiler_available_dimensions_cb_t info_cb, void *user_data)
Return information about the dimensions that exists for a specific counter and the extent of each dim...
rocprofiler_status_t rocprofiler_iterate_agent_supported_counters(rocprofiler_agent_id_t agent_id, rocprofiler_available_counters_cb_t cb, void *user_data)
Query Agent Counters Availability.
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)
Callback that gives a list of counters available on an agent. The counters variable is owned by rocpr...
Definition counters.h:143
rocprofiler_status_t rocprofiler_query_record_counter_id(rocprofiler_counter_instance_id_t id, rocprofiler_counter_id_t *counter_id)
Query counter id information from record_id.
rocprofiler_status_t rocprofiler_query_record_dimension_position(rocprofiler_counter_instance_id_t id, rocprofiler_counter_dimension_id_t dim, unsigned long *pos)
Query dimension position from record_id. If the dimension does not exist in the counter,...
rocprofiler_status_t(* rocprofiler_available_dimensions_cb_t)(rocprofiler_counter_id_t id, const rocprofiler_record_dimension_info_t *dim_info, unsigned long num_dims, void *user_data)
Callback that gives a list of available dimensions for a counter.
Definition counters.h:76
rocprofiler_status_t rocprofiler_query_counter_instance_count(rocprofiler_agent_id_t agent_id, rocprofiler_counter_id_t counter_id, unsigned long *instance_count)
This call returns the number of instances specific counter contains.
rocprofiler_status_t rocprofiler_query_counter_info(rocprofiler_counter_id_t counter_id, rocprofiler_counter_info_version_id_t version, void *info)
Query Counter info such as name or description.
Generated by 1.9.8