|
PAPI
5.3.0.0
|
00001 00007 #ifndef PAPI_CPUS_H 00008 #define PAPI_CPUS_H 00009 00010 typedef struct _CpuInfo 00011 { 00012 unsigned int cpu_num; 00013 struct _CpuInfo *next; 00014 hwd_context_t **context; 00015 EventSetInfo_t **running_eventset; 00016 EventSetInfo_t *from_esi; /* ESI used for last update this control state */ 00017 int num_users; 00018 } CpuInfo_t; 00019 00020 int _papi_hwi_initialize_cpu( CpuInfo_t **dest, unsigned int cpu_num ); 00021 int _papi_hwi_shutdown_cpu( CpuInfo_t *cpu ); 00022 int _papi_hwi_lookup_or_create_cpu( CpuInfo_t ** here, unsigned int cpu_num ); 00023 00024 #endif