Go to the source code of this file.
◆ close_cpu_dev_type()
Definition at line 150 of file cpu.c.
151{
153}
_sysdetect_dev_info_u * dev_info_arr
◆ open_cpu_dev_type()
Definition at line 130 of file cpu.c.
131{
132 memset(dev_type_info, 0, sizeof(*dev_type_info));
134
136 strcpy(dev_type_info->
vendor,
"UNKNOWN"));
137
140
141 strcpy(dev_type_info->
status,
"Device Initialized");
143
147}
static void fill_cpu_info(_sysdetect_cpu_info_t *info)
#define CPU_CALL(call, err_handle)
int cpu_get_attribute(CPU_attr_e attr, int *value)
int cpu_get_vendor(char *vendor)
#define PAPI_DEV_TYPE_ID__CPU
#define papi_calloc(a, b)
char status[PAPI_MAX_STR_LEN]
char vendor[PAPI_MAX_STR_LEN]