OpenMPI  0.1.1
vt_ompreg.h
1 /**
2  * VampirTrace
3  * http://www.tu-dresden.de/zih/vampirtrace
4  *
5  * Copyright (c) 2005-2012, ZIH, TU Dresden, Federal Republic of Germany
6  *
7  * Copyright (c) 1998-2005, Forschungszentrum Juelich, Juelich Supercomputing
8  * Centre, Federal Republic of Germany
9  *
10  * See the file COPYING in the package base directory for details
11  **/
12 
13 #ifndef _VT_OMPREG_H
14 #define _VT_OMPREG_H
15 
16 #ifdef __cplusplus
17 # define EXTERN extern "C"
18 #else
19 # define EXTERN extern
20 #endif
21 
22 #define VT__OMP_DESTROY_LOCK 0
23 #define VT__OMP_DESTROY_NEST_LOCK 1
24 #define VT__OMP_GET_DYNAMIC 2
25 #define VT__OMP_GET_MAX_THREADS 3
26 #define VT__OMP_GET_NESTED 4
27 #define VT__OMP_GET_NUM_PROCS 5
28 #define VT__OMP_GET_NUM_THREADS 6
29 #define VT__OMP_GET_THREAD_NUM 7
30 #define VT__OMP_IN_PARALLEL 8
31 #define VT__OMP_INIT_LOCK 9
32 #define VT__OMP_INIT_NEST_LOCK 10
33 #define VT__OMP_SET_DYNAMIC 11
34 #define VT__OMP_SET_LOCK 12
35 #define VT__OMP_SET_NEST_LOCK 13
36 #define VT__OMP_SET_NESTED 14
37 #define VT__OMP_SET_NUM_THREADS 15
38 #define VT__OMP_TEST_LOCK 16
39 #define VT__OMP_TEST_NEST_LOCK 17
40 #define VT__OMP_UNSET_LOCK 18
41 #define VT__OMP_UNSET_NEST_LOCK 19
42 #define VT__OMP_REGID_NUM 20
43 
44 extern int vt_omp_regid[VT__OMP_REGID_NUM];
45 
46 EXTERN void vt_omp_register(void);
47 
48 #endif /* _VT_OMPREG_H */
49 
50 
51 
52 
53 
54 
55 
56 
57