PAPI  5.3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cpus.h
Go to the documentation of this file.
1 
7 #ifndef PAPI_CPUS_H
8 #define PAPI_CPUS_H
9 
10 typedef 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 */
17  int num_users;
18 } CpuInfo_t;
19 
20 int _papi_hwi_initialize_cpu( CpuInfo_t **dest, unsigned int cpu_num );
22 int _papi_hwi_lookup_or_create_cpu( CpuInfo_t ** here, unsigned int cpu_num );
23 
24 #endif
EventSetInfo_t * from_esi
Definition: cpus.h:16
EventSetInfo_t ** running_eventset
Definition: cpus.h:15
cpu
Definition: iozone.c:3872
struct _CpuInfo * next
Definition: cpus.h:13
int num_users
Definition: cpus.h:17
hwd_context_t ** context
Definition: cpus.h:14
unsigned int cpu_num
Definition: cpus.h:12
Definition: cpus.h:10
int _papi_hwi_shutdown_cpu(CpuInfo_t *cpu)
Definition: cpus.c:306
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