PAPI 7.1.0.0
Loading...
Searching...
No Matches
cpus.h
Go to the documentation of this file.
1
7#ifndef PAPI_CPUS_H
8#define PAPI_CPUS_H
9
10typedef struct _CpuInfo
11{
12 unsigned int cpu_num;
13 struct _CpuInfo *next;
16 EventSetInfo_t *from_esi; /* ESI used for last update this control state */
18} CpuInfo_t;
19
20int _papi_hwi_initialize_cpu( CpuInfo_t **dest, unsigned int cpu_num );
22int _papi_hwi_lookup_or_create_cpu( CpuInfo_t ** here, unsigned int cpu_num );
23
24#endif
int _papi_hwi_initialize_cpu(CpuInfo_t **dest, unsigned int cpu_num)
Definition: cpus.c:275
int _papi_hwi_lookup_or_create_cpu(CpuInfo_t **here, unsigned int cpu_num)
Definition: cpus.c:59
int _papi_hwi_shutdown_cpu(CpuInfo_t *cpu)
Definition: cpus.c:308
Definition: cpus.h:11
struct _CpuInfo * next
Definition: cpus.h:13
EventSetInfo_t * from_esi
Definition: cpus.h:16
unsigned int cpu_num
Definition: cpus.h:12
EventSetInfo_t ** running_eventset
Definition: cpus.h:15
hwd_context_t ** context
Definition: cpus.h:14
int num_users
Definition: cpus.h:17