|
PAPI
5.0.1.0
|
00001 #ifndef _PAPI_DEFINES_H 00002 #define _PAPI_DEFINES_H 00003 00004 /* Thread related: locks */ 00005 00006 #define INTERNAL_LOCK PAPI_NUM_LOCK+0 /* papi_internal.c */ 00007 #define MULTIPLEX_LOCK PAPI_NUM_LOCK+1 /* multiplex.c */ 00008 #define THREADS_LOCK PAPI_NUM_LOCK+2 /* threads.c */ 00009 #define HIGHLEVEL_LOCK PAPI_NUM_LOCK+3 /* papi_hl.c */ 00010 #define MEMORY_LOCK PAPI_NUM_LOCK+4 /* papi_memory.c */ 00011 #define COMPONENT_LOCK PAPI_NUM_LOCK+5 /* per-component */ 00012 #define GLOBAL_LOCK PAPI_NUM_LOCK+6 /* papi.c for global variable (static and non) initialization/shutdown */ 00013 #define CPUS_LOCK PAPI_NUM_LOCK+7 /* cpus.c */ 00014 #define NAMELIB_LOCK PAPI_NUM_LOCK+8 /* papi_pfm4_events.c */ 00015 00016 00017 #define NUM_INNER_LOCK 9 00018 #define PAPI_MAX_LOCK (NUM_INNER_LOCK + PAPI_NUM_LOCK) 00019 00020 #include OSLOCK 00021 00022 00023 #endif