PAPI  5.3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fpapi.h
Go to the documentation of this file.
1 C
2 C This file contains defines required by the PAPI Fortran interface.
3 C It is automagically generated by genpapifdef.c
4 C DO NOT modify its contents and expect the changes to stick.
5 C Changes MUST be made in genpapifdef.c instead.
6 C
7 
8 
9 C
10 C General purpose defines.
11 C
12 
13 #define PAPI_NULL -1
14 #define PAPI_VER_CURRENT 84017152
15 #define PAPI_VERSION 84017152
16 #define PAPI_MAX_PRESET_EVENTS 128
17 #define PAPI_NOT_INITED 0
18 #define PAPI_LOW_LEVEL_INITED 1
19 #define PAPI_HIGH_LEVEL_INITED 2
20 #define PAPI_THREAD_LEVEL_INITED 4
21 #define PAPI_DOM_USER 1
22 #define PAPI_DOM_KERNEL 2
23 #define PAPI_DOM_OTHER 4
24 #define PAPI_DOM_SUPERVISOR 8
25 #define PAPI_DOM_ALL 15
26 #define PAPI_DOM_MIN 1
27 #define PAPI_DOM_MAX 15
28 #define PAPI_DOM_HWSPEC ((-2147483647) - 1)
29 #define PAPI_STOPPED 1
30 #define PAPI_RUNNING 2
31 #define PAPI_PAUSED 4
32 #define PAPI_NOT_INIT 8
33 #define PAPI_OVERFLOWING 16
34 #define PAPI_PROFILING 32
35 #define PAPI_MULTIPLEXING 64
36 #define PAPI_ATTACHED 128
37 #define PAPI_CPU_ATTACHED 256
38 #define PAPI_QUIET 0
39 #define PAPI_VERB_ECONT 1
40 #define PAPI_VERB_ESTOP 2
41 #define PAPI_MIN_STR_LEN 64
42 #define PAPI_HUGE_STR_LEN 1024
43 #define PAPI_MAX_STR_LEN 128
44 #define PAPI_NUM_ERRORS 25
45 #define PAPI_MULTIPLEX_DEFAULT 0
46 #define PAPI_MULTIPLEX_FORCE_SW 1
47 #define PAPI_DEBUG 2
48 #define PAPI_MULTIPLEX 3
49 #define PAPI_DEFDOM 4
50 #define PAPI_DOMAIN 5
51 #define PAPI_DEFGRN 6
52 #define PAPI_GRANUL 7
53 #define PAPI_DEF_MPX_NS 8
54 #define PAPI_MAX_MPX_CTRS 11
55 #define PAPI_PROFIL 12
56 #define PAPI_PRELOAD 13
57 #define PAPI_CLOCKRATE 14
58 #define PAPI_MAX_HWCTRS 15
59 #define PAPI_HWINFO 16
60 #define PAPI_EXEINFO 17
61 #define PAPI_MAX_CPUS 18
62 #define PAPI_ATTACH 19
63 #define PAPI_SHLIBINFO 20
64 #define PAPI_LIB_VERSION 21
65 #define PAPI_COMPONENTINFO 22
66 #define PAPI_DETACH 1
67 #define PAPI_GRN_THR 1
68 #define PAPI_GRN_MIN 1
69 #define PAPI_GRN_PROC 2
70 #define PAPI_GRN_PROCG 4
71 #define PAPI_GRN_SYS 8
72 #define PAPI_GRN_SYS_CPU 16
73 #define PAPI_GRN_MAX 16
74 #define PAPI_DERIVED 1
75 #define PAPI_PROFIL_POSIX 0
76 #define PAPI_PROFIL_RANDOM 1
77 #define PAPI_PROFIL_WEIGHTED 2
78 #define PAPI_PROFIL_COMPRESS 4
79 #define PAPI_PROFIL_BUCKET_16 8
80 #define PAPI_PROFIL_BUCKET_32 16
81 #define PAPI_PROFIL_BUCKET_64 32
82 #define PAPI_USR1_LOCK 0
83 #define PAPI_USR2_LOCK 1
84 #define PAPI_LOCK_USR1 0
85 #define PAPI_LOCK_USR2 1
86 #define PAPI_LOCK_NUM 2
87 #define PAPI_MH_MAX_LEVELS 6
88 #define PAPI_USR1_TLS 0
89 #define PAPI_USR2_TLS 1
90 #define PAPI_TLS_USR1 0
91 #define PAPI_TLS_USR2 1
92 #define PAPI_TLS_HIGH_LEVEL 2
93 #define PAPI_TLS_NUM 3
94 #define PAPIF_DMEM_VMSIZE 2
95 #define PAPIF_DMEM_RESIDENT 3
96 #define PAPIF_DMEM_HIGH_WATER 4
97 #define PAPIF_DMEM_SHARED 5
98 #define PAPIF_DMEM_TEXT 6
99 #define PAPIF_DMEM_LIBRARY 7
100 #define PAPIF_DMEM_HEAP 8
101 #define PAPIF_DMEM_LOCKED 9
102 #define PAPIF_DMEM_STACK 10
103 #define PAPIF_DMEM_PAGESIZE 11
104 #define PAPIF_DMEM_MAXVAL 12
105 #define PAPI_OK 0
106 #define PAPI_EINVAL -1
107 #define PAPI_ENOMEM -2
108 #define PAPI_ESYS -3
109 #define PAPI_ECMP -4
110 #define PAPI_ECLOST -5
111 #define PAPI_EBUG -6
112 #define PAPI_ENOEVNT -7
113 #define PAPI_ECNFLCT -8
114 #define PAPI_ENOTRUN -9
115 #define PAPI_EISRUN -10
116 #define PAPI_ENOEVST -11
117 #define PAPI_ENOTPRESET -12
118 #define PAPI_ENOCNTR -13
119 #define PAPI_EMISC -14
120 #define PAPI_EPERM -15
121 #define PAPI_ENOINIT -16
122 #define PAPI_ENOCMP -17
123 #define PAPI_ENOSUPP -18
124 #define PAPI_ENOIMPL -19
125 #define PAPI_EBUF -20
126 #define PAPI_EINVAL_DOM -21
127 #define PAPI_EATTR -22
128 #define PAPI_ECOUNT -23
129 #define PAPI_ECOMBO -24
130 
131 C
132 C PAPI preset event values.
133 C
134 
135 #define PAPI_L1_DCM ((-2147483647) - 1)
136 #define PAPI_L1_ICM -2147483647
137 #define PAPI_L2_DCM -2147483646
138 #define PAPI_L2_ICM -2147483645
139 #define PAPI_L3_DCM -2147483644
140 #define PAPI_L3_ICM -2147483643
141 #define PAPI_L1_TCM -2147483642
142 #define PAPI_L2_TCM -2147483641
143 #define PAPI_L3_TCM -2147483640
144 #define PAPI_CA_SNP -2147483639
145 #define PAPI_CA_SHR -2147483638
146 #define PAPI_CA_CLN -2147483637
147 #define PAPI_CA_INV -2147483636
148 #define PAPI_CA_ITV -2147483635
149 #define PAPI_L3_LDM -2147483634
150 #define PAPI_L3_STM -2147483633
151 #define PAPI_BRU_IDL -2147483632
152 #define PAPI_FXU_IDL -2147483631
153 #define PAPI_FPU_IDL -2147483630
154 #define PAPI_LSU_IDL -2147483629
155 #define PAPI_TLB_DM -2147483628
156 #define PAPI_TLB_IM -2147483627
157 #define PAPI_TLB_TL -2147483626
158 #define PAPI_L1_LDM -2147483625
159 #define PAPI_L1_STM -2147483624
160 #define PAPI_L2_LDM -2147483623
161 #define PAPI_L2_STM -2147483622
162 #define PAPI_BTAC_M -2147483621
163 #define PAPI_PRF_DM -2147483620
164 #define PAPI_L3_DCH -2147483619
165 #define PAPI_TLB_SD -2147483618
166 #define PAPI_CSR_FAL -2147483617
167 #define PAPI_CSR_SUC -2147483616
168 #define PAPI_CSR_TOT -2147483615
169 #define PAPI_MEM_SCY -2147483614
170 #define PAPI_MEM_RCY -2147483613
171 #define PAPI_MEM_WCY -2147483612
172 #define PAPI_STL_ICY -2147483611
173 #define PAPI_FUL_ICY -2147483610
174 #define PAPI_STL_CCY -2147483609
175 #define PAPI_FUL_CCY -2147483608
176 #define PAPI_HW_INT -2147483607
177 #define PAPI_BR_UCN -2147483606
178 #define PAPI_BR_CN -2147483605
179 #define PAPI_BR_TKN -2147483604
180 #define PAPI_BR_NTK -2147483603
181 #define PAPI_BR_MSP -2147483602
182 #define PAPI_BR_PRC -2147483601
183 #define PAPI_FMA_INS -2147483600
184 #define PAPI_TOT_IIS -2147483599
185 #define PAPI_TOT_INS -2147483598
186 #define PAPI_INT_INS -2147483597
187 #define PAPI_FP_INS -2147483596
188 #define PAPI_LD_INS -2147483595
189 #define PAPI_SR_INS -2147483594
190 #define PAPI_BR_INS -2147483593
191 #define PAPI_VEC_INS -2147483592
192 #define PAPI_RES_STL -2147483591
193 #define PAPI_FP_STAL -2147483590
194 #define PAPI_TOT_CYC -2147483589
195 #define PAPI_LST_INS -2147483588
196 #define PAPI_SYC_INS -2147483587
197 #define PAPI_L1_DCH -2147483586
198 #define PAPI_L2_DCH -2147483585
199 #define PAPI_L1_DCA -2147483584
200 #define PAPI_L2_DCA -2147483583
201 #define PAPI_L3_DCA -2147483582
202 #define PAPI_L1_DCR -2147483581
203 #define PAPI_L2_DCR -2147483580
204 #define PAPI_L3_DCR -2147483579
205 #define PAPI_L1_DCW -2147483578
206 #define PAPI_L2_DCW -2147483577
207 #define PAPI_L3_DCW -2147483576
208 #define PAPI_L1_ICH -2147483575
209 #define PAPI_L2_ICH -2147483574
210 #define PAPI_L3_ICH -2147483573
211 #define PAPI_L1_ICA -2147483572
212 #define PAPI_L2_ICA -2147483571
213 #define PAPI_L3_ICA -2147483570
214 #define PAPI_L1_ICR -2147483569
215 #define PAPI_L2_ICR -2147483568
216 #define PAPI_L3_ICR -2147483567
217 #define PAPI_L1_ICW -2147483566
218 #define PAPI_L2_ICW -2147483565
219 #define PAPI_L3_ICW -2147483564
220 #define PAPI_L1_TCH -2147483563
221 #define PAPI_L2_TCH -2147483562
222 #define PAPI_L3_TCH -2147483561
223 #define PAPI_L1_TCA -2147483560
224 #define PAPI_L2_TCA -2147483559
225 #define PAPI_L3_TCA -2147483558
226 #define PAPI_L1_TCR -2147483557
227 #define PAPI_L2_TCR -2147483556
228 #define PAPI_L3_TCR -2147483555
229 #define PAPI_L1_TCW -2147483554
230 #define PAPI_L2_TCW -2147483553
231 #define PAPI_L3_TCW -2147483552
232 #define PAPI_FML_INS -2147483551
233 #define PAPI_FAD_INS -2147483550
234 #define PAPI_FDV_INS -2147483549
235 #define PAPI_FSQ_INS -2147483548
236 #define PAPI_FNV_INS -2147483547
237 #define PAPI_FP_OPS -2147483546
238 #define PAPI_SP_OPS -2147483545
239 #define PAPI_DP_OPS -2147483544
240 #define PAPI_VEC_SP -2147483543
241 #define PAPI_VEC_DP -2147483542
242 #define PAPI_REF_CYC -2147483541
list_t defines
static int preset
Definition: event_info.c:38
static long long values[NUM_EVENTS]
Definition: init_fini.c:10