PAPI  5.7.0.0
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 84344832
15 #define PAPI_VERSION 84344832
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 26
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 #define PAPI_ECMP_DISABLED -25
131 
132 C
133 C PAPI preset event values.
134 C
135 
136 #define PAPI_L1_DCM ((-2147483647) - 1)
137 #define PAPI_L1_ICM -2147483647
138 #define PAPI_L2_DCM -2147483646
139 #define PAPI_L2_ICM -2147483645
140 #define PAPI_L3_DCM -2147483644
141 #define PAPI_L3_ICM -2147483643
142 #define PAPI_L1_TCM -2147483642
143 #define PAPI_L2_TCM -2147483641
144 #define PAPI_L3_TCM -2147483640
145 #define PAPI_CA_SNP -2147483639
146 #define PAPI_CA_SHR -2147483638
147 #define PAPI_CA_CLN -2147483637
148 #define PAPI_CA_INV -2147483636
149 #define PAPI_CA_ITV -2147483635
150 #define PAPI_L3_LDM -2147483634
151 #define PAPI_L3_STM -2147483633
152 #define PAPI_BRU_IDL -2147483632
153 #define PAPI_FXU_IDL -2147483631
154 #define PAPI_FPU_IDL -2147483630
155 #define PAPI_LSU_IDL -2147483629
156 #define PAPI_TLB_DM -2147483628
157 #define PAPI_TLB_IM -2147483627
158 #define PAPI_TLB_TL -2147483626
159 #define PAPI_L1_LDM -2147483625
160 #define PAPI_L1_STM -2147483624
161 #define PAPI_L2_LDM -2147483623
162 #define PAPI_L2_STM -2147483622
163 #define PAPI_BTAC_M -2147483621
164 #define PAPI_PRF_DM -2147483620
165 #define PAPI_L3_DCH -2147483619
166 #define PAPI_TLB_SD -2147483618
167 #define PAPI_CSR_FAL -2147483617
168 #define PAPI_CSR_SUC -2147483616
169 #define PAPI_CSR_TOT -2147483615
170 #define PAPI_MEM_SCY -2147483614
171 #define PAPI_MEM_RCY -2147483613
172 #define PAPI_MEM_WCY -2147483612
173 #define PAPI_STL_ICY -2147483611
174 #define PAPI_FUL_ICY -2147483610
175 #define PAPI_STL_CCY -2147483609
176 #define PAPI_FUL_CCY -2147483608
177 #define PAPI_HW_INT -2147483607
178 #define PAPI_BR_UCN -2147483606
179 #define PAPI_BR_CN -2147483605
180 #define PAPI_BR_TKN -2147483604
181 #define PAPI_BR_NTK -2147483603
182 #define PAPI_BR_MSP -2147483602
183 #define PAPI_BR_PRC -2147483601
184 #define PAPI_FMA_INS -2147483600
185 #define PAPI_TOT_IIS -2147483599
186 #define PAPI_TOT_INS -2147483598
187 #define PAPI_INT_INS -2147483597
188 #define PAPI_FP_INS -2147483596
189 #define PAPI_LD_INS -2147483595
190 #define PAPI_SR_INS -2147483594
191 #define PAPI_BR_INS -2147483593
192 #define PAPI_VEC_INS -2147483592
193 #define PAPI_RES_STL -2147483591
194 #define PAPI_FP_STAL -2147483590
195 #define PAPI_TOT_CYC -2147483589
196 #define PAPI_LST_INS -2147483588
197 #define PAPI_SYC_INS -2147483587
198 #define PAPI_L1_DCH -2147483586
199 #define PAPI_L2_DCH -2147483585
200 #define PAPI_L1_DCA -2147483584
201 #define PAPI_L2_DCA -2147483583
202 #define PAPI_L3_DCA -2147483582
203 #define PAPI_L1_DCR -2147483581
204 #define PAPI_L2_DCR -2147483580
205 #define PAPI_L3_DCR -2147483579
206 #define PAPI_L1_DCW -2147483578
207 #define PAPI_L2_DCW -2147483577
208 #define PAPI_L3_DCW -2147483576
209 #define PAPI_L1_ICH -2147483575
210 #define PAPI_L2_ICH -2147483574
211 #define PAPI_L3_ICH -2147483573
212 #define PAPI_L1_ICA -2147483572
213 #define PAPI_L2_ICA -2147483571
214 #define PAPI_L3_ICA -2147483570
215 #define PAPI_L1_ICR -2147483569
216 #define PAPI_L2_ICR -2147483568
217 #define PAPI_L3_ICR -2147483567
218 #define PAPI_L1_ICW -2147483566
219 #define PAPI_L2_ICW -2147483565
220 #define PAPI_L3_ICW -2147483564
221 #define PAPI_L1_TCH -2147483563
222 #define PAPI_L2_TCH -2147483562
223 #define PAPI_L3_TCH -2147483561
224 #define PAPI_L1_TCA -2147483560
225 #define PAPI_L2_TCA -2147483559
226 #define PAPI_L3_TCA -2147483558
227 #define PAPI_L1_TCR -2147483557
228 #define PAPI_L2_TCR -2147483556
229 #define PAPI_L3_TCR -2147483555
230 #define PAPI_L1_TCW -2147483554
231 #define PAPI_L2_TCW -2147483553
232 #define PAPI_L3_TCW -2147483552
233 #define PAPI_FML_INS -2147483551
234 #define PAPI_FAD_INS -2147483550
235 #define PAPI_FDV_INS -2147483549
236 #define PAPI_FSQ_INS -2147483548
237 #define PAPI_FNV_INS -2147483547
238 #define PAPI_FP_OPS -2147483546
239 #define PAPI_SP_OPS -2147483545
240 #define PAPI_DP_OPS -2147483544
241 #define PAPI_VEC_SP -2147483543
242 #define PAPI_VEC_DP -2147483542
243 #define PAPI_REF_CYC -2147483541
const char FILE * file
Definition: pscanf.h:13
static int preset
static long long values[NUM_EVENTS]
Definition: init_fini.c:10