rocprofiler-sdk/agent.h File Reference

rocprofiler-sdk/agent.h File Reference#

Rocprofiler SDK Developer API: rocprofiler-sdk/agent.h File Reference
Rocprofiler SDK Developer API 0.5.0
ROCm Profiling API and tools
agent.h File Reference
#include <rocprofiler-sdk/defines.h>
#include <rocprofiler-sdk/fwd.h>
#include <hsakmt/hsakmttypes.h>
#include <stdint.h>
+ Include dependency graph for agent.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rocprofiler_agent_cache_t
 Cache information for an agent. More...
 
struct  rocprofiler_agent_mem_bank_t
 Memory bank information for an agent. More...
 
struct  rocprofiler_agent_v0_t
 Stores the properties of an agent (CPU, GPU, etc.) More...
 

Typedefs

typedef rocprofiler_agent_v0_t rocprofiler_agent_t
 
typedef rocprofiler_status_t(* rocprofiler_query_available_agents_cb_t) (rocprofiler_agent_version_t version, const void **agents, unsigned long num_agents, void *user_data)
 Callback function type for querying the available agents.
 

Enumerations

enum  rocprofiler_agent_version_t {
  ROCPROFILER_AGENT_INFO_VERSION_NONE = 0 ,
  ROCPROFILER_AGENT_INFO_VERSION_0 = 1 ,
  ROCPROFILER_AGENT_INFO_VERSION_LAST
}
 Enumeration ID for version of the rocprofiler_agent_v*_t struct in rocprofiler_i. More...
 

Functions

rocprofiler_status_t rocprofiler_query_available_agents (rocprofiler_agent_version_t version, rocprofiler_query_available_agents_cb_t callback, unsigned long agent_size, void *user_data)
 Receive synchronous callback with an array of available agents at moment of invocation.