rocprofiler-sdk/agent_profile.h Source File#
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
|
agent_profile.h
Go to the documentation of this file.
100 * The data in rocprofiler_user_data_t will be written to the buffer along with the counter data.
106 * @param [in] flags Flags to specify how the counter data should be collected (defaults to sync).
110 * @retval ::ROCPROFILER_STATUS_ERROR_CONTEXT_ERROR Returned if another operation is in progress (
rocprofiler_status_t rocprofiler_sample_agent_profile_counting_service(rocprofiler_context_id_t context_id, rocprofiler_user_data_t user_data, rocprofiler_counter_flag_t flags)
Trigger a read of the counter data for the agent profile. The counter data will be written to the buf...
void(* rocprofiler_agent_profile_callback_t)(rocprofiler_context_id_t context_id, rocprofiler_agent_id_t agent_id, rocprofiler_agent_set_profile_callback_t set_config, void *user_data)
Configure Profile Counting Service for agent. Called when the context is started. Selects the counter...
Definition agent_profile.h:64
rocprofiler_status_t rocprofiler_configure_agent_profile_counting_service(rocprofiler_context_id_t context_id, rocprofiler_buffer_id_t buffer_id, rocprofiler_agent_id_t agent_id, rocprofiler_agent_profile_callback_t cb, void *user_data)
Configure Profile Counting Service for agent. There may only be one agent profile configured per cont...
rocprofiler_status_t(* rocprofiler_agent_set_profile_callback_t)(rocprofiler_context_id_t context_id, rocprofiler_profile_config_id_t config_id)
Callback to set the profile config for the agent.
Definition agent_profile.h:50
rocprofiler_counter_flag_t
Enumeration of flags that can be used with some counter api calls.
Definition fwd.h:401
Generated by 1.9.8