Go to the source code of this file.
◆ _papi_hwi_initialize_cpu()
Definition at line 275 of file cpus.c.
276{
277 APIDBG(
"Entry: dest: %p, *dest: %p, cpu_num: %d\n", dest, *dest, cpu_num);
278
282
284 *dest = NULL;
286 }
287
288
292 continue;
296 *dest = NULL;
298 }
299 }
300
302
303 *dest = cpu;
305}
struct papi_vectors * _papi_hwd[]
static CpuInfo_t * allocate_cpu(unsigned int cpu_num)
static void insert_cpu(CpuInfo_t *entry)
static void free_cpu(CpuInfo_t **cpu)
#define APIDBG(format, args...)
◆ _papi_hwi_lookup_or_create_cpu()
int _papi_hwi_lookup_or_create_cpu |
( |
CpuInfo_t ** |
here, |
|
|
unsigned int |
cpu_num |
|
) |
| |
Definition at line 59 of file cpus.c.
60{
61 APIDBG(
"Entry: here: %p\n", here);
62
65
67
71 }
72
73
75
78 }
79
81
83}
int _papi_hwi_initialize_cpu(CpuInfo_t **dest, unsigned int cpu_num)
static CpuInfo_t * _papi_hwi_lookup_cpu(unsigned int cpu_num)
inline_static int _papi_hwi_lock(int lck)
inline_static int _papi_hwi_unlock(int lck)
◆ _papi_hwi_shutdown_cpu()