OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

OTF_Keywords.h
Go to the documentation of this file.
1 /*
2 This is part of the OTF library. Copyright by ZIH, TU Dresden 2005-2012.
3 Authors: Andreas Knuepfer, Holger Brunst, Ronny Brendel, Thomas Kriebitzsch
4 */
5
6 /**
7 * @file OTF_Keywords.h
8 *
9 * @brief All record format keywords are located in this file.
10 *
11 * \ingroup internal
12 */
13
14
15 #ifndef OTF_KEYWORDS_H
16 #define OTF_KEYWORDS_H
17
18 #include "OTF_KeyValue.h"
19
20 /*
21
22 define all record format keywords here in order to have a single
23 spot for them.
24
25 the keywords identifying record types must follow some special rules:
26
27 1) all keywords are UPPER CASE
28
29 2) no keyword must be equal to another keyword, prefixes are allowed though
30
31 3) all definition records and only them have the prefix "DEF" or "D"
32
33 4) all summary records and only them have the prefix "SUM" or "S"
34
35 5) all status records and only them have the prefix "T" (better ideas?)
36
37 7) the prefixes for definition, summary resp. status record types are
38 extra, the don't go into the specific definitions - see below
39
40 8) there is always a long and a short version for every keyword marked with
41 _L_ and _S_. both versions might be equal, but always they have the
42 same first letter given by an additional macro marked with _F_
43
44 - white spaces after the keyword should be included in the keyword
45
46 */
47
48
49 /* *** general keywords *** */
50
51
52 #define OTF_KEYWORD_PROCESS_CHAR '*'
53
54
55 /* *** definition record keywords *** */
56
57 #define OTF_KEYWORD_L_DEF_PREFIX "DEF"
58 #define OTF_KEYWORD_S_DEF_PREFIX "D"
59
60 #define OTF_KEYWORD_L_DEFTIMERRESOLUTION "TIMERRESOLUTION"
61 #define OTF_KEYWORD_S_DEFTIMERRESOLUTION "TR"
62 #define OTF_KEYWORD_F_DEFTIMERRESOLUTION 'T'
63
64 #define OTF_KEYWORD_L_DEFPROCESS "PROCESS"
65 #define OTF_KEYWORD_S_DEFPROCESS "P"
66 #define OTF_KEYWORD_F_DEFPROCESS 'P'
67
68 #define OTF_KEYWORD_L_DEFPROCESSGROUP "PROCESSGROUP"
69 #define OTF_KEYWORD_S_DEFPROCESSGROUP "PG"
70 #define OTF_KEYWORD_F_DEFPROCESSGROUP 'P'
71
72 #define OTF_KEYWORD_L_DEFATTRLIST "ATTRIBUTELIST"
73 #define OTF_KEYWORD_S_DEFATTRLIST "A"
74 #define OTF_KEYWORD_F_DEFATTRLIST 'A'
75
76 #define OTF_KEYWORD_L_DEFPROCESSORGROUPATTR "PROCESSORGROUPATTR"
77 #define OTF_KEYWORD_S_DEFPROCESSORGROUPATTR "PGA"
78 #define OTF_KEYWORD_F_DEFPROCESSORGROUPATTR 'P'
79
80 #define OTF_KEYWORD_L_DEFFUNCTION "FUNCTION"
81 #define OTF_KEYWORD_S_DEFFUNCTION "F"
82 #define OTF_KEYWORD_F_DEFFUNCTION 'F'
83
84 #define OTF_KEYWORD_L_DEFFUNCTIONGROUP "FUNCTIONGROUP"
85 #define OTF_KEYWORD_S_DEFFUNCTIONGROUP "FG"
86 #define OTF_KEYWORD_F_DEFFUNCTIONGROUP 'F'
87
88 #define OTF_KEYWORD_L_DEFCOLLOP "COLLOP"
89 #define OTF_KEYWORD_S_DEFCOLLOP "CO"
90 #define OTF_KEYWORD_F_DEFCOLLOP 'C'
91
92 #define OTF_KEYWORD_L_DEFCOUNTER "COUNTER"
93 #define OTF_KEYWORD_S_DEFCOUNTER "CNT"
94 #define OTF_KEYWORD_F_DEFCOUNTER 'C'
95
96 #define OTF_KEYWORD_L_DEFCOUNTERGROUP "COUNTERGROUP"
97 #define OTF_KEYWORD_S_DEFCOUNTERGROUP "CG"
98 #define OTF_KEYWORD_F_DEFCOUNTERGROUP 'C'
99
100 #define OTF_KEYWORD_L_DEFINITIONCOMMENT "COMMENT"
101 #define OTF_KEYWORD_S_DEFINITIONCOMMENT "CMT"
102 #define OTF_KEYWORD_F_DEFINITIONCOMMENT 'C'
103
104 #define OTF_KEYWORD_L_DEFSCL "SCL"
105 #define OTF_KEYWORD_S_DEFSCL "S"
106 #define OTF_KEYWORD_F_DEFSCL 'S'
107
108 #define OTF_KEYWORD_L_DEFSCLFILE "SCLFILE"
109 #define OTF_KEYWORD_S_DEFSCLFILE "SF"
110 #define OTF_KEYWORD_F_DEFSCLFILE 'S'
111
112 #define OTF_KEYWORD_L_DEFVERSION "VERSION"
113 #define OTF_KEYWORD_S_DEFVERSION "V"
114 #define OTF_KEYWORD_F_DEFVERSION 'V'
115
116 #define OTF_KEYWORD_L_DEFCREATOR "CREATOR"
117 #define OTF_KEYWORD_S_DEFCREATOR "CR"
118 #define OTF_KEYWORD_F_DEFCREATOR 'C'
119
120 #define OTF_KEYWORD_L_DEFFILE "FILE"
121 #define OTF_KEYWORD_S_DEFFILE "FL"
122 #define OTF_KEYWORD_F_DEFFILE 'F'
123
124 #define OTF_KEYWORD_L_DEFFILEGROUP "FILEGROUP"
125 #define OTF_KEYWORD_S_DEFFILEGROUP "FLG"
126 #define OTF_KEYWORD_F_DEFFILEGROUP 'F'
127
128 #define OTF_KEYWORD_L_DEFKEYVALUE "KEYVALUE"
129 #define OTF_KEYWORD_S_DEFKEYVALUE "K"
130 #define OTF_KEYWORD_F_DEFKEYVALUE 'K'
131
132 #define OTF_KEYWORD_L_DEFTIMERANGE "TIMERANGE"
133 #define OTF_KEYWORD_S_DEFTIMERANGE "TRG"
134 #define OTF_KEYWORD_F_DEFTIMERANGE 'T'
135
136 #define OTF_KEYWORD_L_DEFCOUNTERASSIGNMENTS "COUNTERASSIGNMENTS"
137 #define OTF_KEYWORD_S_DEFCOUNTERASSIGNMENTS "CA"
138 #define OTF_KEYWORD_F_DEFCOUNTERASSIGNMENTS 'C'
139
140 #define OTF_KEYWORD_L_DEFPROCESSSUBSTITUTES "PROCESSSUBSTITUTES"
141 #define OTF_KEYWORD_S_DEFPROCESSSUBSTITUTES "PS"
142 #define OTF_KEYWORD_F_DEFPROCESSSUBSTITUTES 'P'
143
144 /* *** event record keywords *** */
145
146 #define OTF_KEYWORD_L_NOOP "NOOP"
147 #define OTF_KEYWORD_S_NOOP "N"
148 #define OTF_KEYWORD_F_NOOP 'N'
149
150 #define OTF_KEYWORD_L_ENTER "ENTER"
151 #define OTF_KEYWORD_S_ENTER "E"
152 #define OTF_KEYWORD_F_ENTER 'E'
153
154 #define OTF_KEYWORD_L_LEAVE "LEAVE"
155 #define OTF_KEYWORD_S_LEAVE "L"
156 #define OTF_KEYWORD_F_LEAVE 'L'
157
158 #define OTF_KEYWORD_L_RECEIVE "RECEIVE"
159 #define OTF_KEYWORD_S_RECEIVE "R"
160 #define OTF_KEYWORD_F_RECEIVE 'R'
161
162 #define OTF_KEYWORD_L_SEND "SEND"
163 #define OTF_KEYWORD_S_SEND "S"
164 #define OTF_KEYWORD_F_SEND 'S'
165
166 #define OTF_KEYWORD_L_COUNTER "COUNTER"
167 #define OTF_KEYWORD_S_COUNTER "CNT"
168 #define OTF_KEYWORD_F_COUNTER 'C'
169
170 #define OTF_KEYWORD_L_COLLECTIVEOPERATION "COLLOP"
171 #define OTF_KEYWORD_S_COLLECTIVEOPERATION "COP"
172 #define OTF_KEYWORD_F_COLLECTIVEOPERATION 'C'
173
174 #define OTF_KEYWORD_L_EVENTCOMMENT "#EVTCOMMENT"
175 #define OTF_KEYWORD_S_EVENTCOMMENT "#"
176 #define OTF_KEYWORD_F_EVENTCOMMENT '#'
177
178 #define OTF_KEYWORD_L_BEGINPROCESS "PROCESSBEGIN"
179 #define OTF_KEYWORD_S_BEGINPROCESS "PB"
180 #define OTF_KEYWORD_F_BEGINPROCESS 'P'
181
182 #define OTF_KEYWORD_L_ENDPROCESS "PROCESSEND"
183 #define OTF_KEYWORD_S_ENDPROCESS "PE"
184 #define OTF_KEYWORD_F_ENDPROCESS 'P'
185
186 #define OTF_KEYWORD_L_FILEOPERATION "FILEOP"
187 #define OTF_KEYWORD_S_FILEOPERATION "F"
188 #define OTF_KEYWORD_F_FILEOPERATION 'F'
189
190 #define OTF_KEYWORD_L_RMAPUT "TRMAPUT"
191 #define OTF_KEYWORD_S_RMAPUT "T"
192 #define OTF_KEYWORD_F_RMAPUT 'T'
193
194 #define OTF_KEYWORD_L_RMAPUTRE "URMAPUTRE"
195 #define OTF_KEYWORD_S_RMAPUTRE "U"
196 #define OTF_KEYWORD_F_RMAPUTRE 'U'
197
198 #define OTF_KEYWORD_L_RMAGET "GRMAGET"
199 #define OTF_KEYWORD_S_RMAGET "G"
200 #define OTF_KEYWORD_F_RMAGET 'G'
201
202 #define OTF_KEYWORD_L_RMAEND "MRMAEND"
203 #define OTF_KEYWORD_S_RMAEND "M"
204 #define OTF_KEYWORD_F_RMAEND 'M'
205
206 #define OTF_KEYWORD_L_BEGINCOLLECTIVEOPERATION "COLLOPBEGIN"
207 #define OTF_KEYWORD_S_BEGINCOLLECTIVEOPERATION "COPB"
208 #define OTF_KEYWORD_F_BEGINCOLLECTIVEOPERATION 'C'
209
210 #define OTF_KEYWORD_L_ENDCOLLECTIVEOPERATION "COLLOPEND"
211 #define OTF_KEYWORD_S_ENDCOLLECTIVEOPERATION "COPE"
212 #define OTF_KEYWORD_F_ENDCOLLECTIVEOPERATION 'C'
213
214 /* the OLD/NEW thing for begin as well to make begin and end handled the same */
215
216 #define OTF_KEYWORD_L_BEGINFILEOPERATION_OLD "FILEOPBEGIN"
217 #define OTF_KEYWORD_S_BEGINFILEOPERATION_OLD "FB"
218 #define OTF_KEYWORD_F_BEGINFILEOPERATION_OLD 'F'
219
220 #define OTF_KEYWORD_L_BEGINFILEOPERATION_NEW "FILEOPBEGINNEW"
221 #define OTF_KEYWORD_S_BEGINFILEOPERATION_NEW "FA"
222 #define OTF_KEYWORD_F_BEGINFILEOPERATION_NEW 'F'
223
224 /* the OLD/NEW thing fixes upward compatibility after changing the record contents */
225 #define OTF_KEYWORD_L_ENDFILEOPERATION_OLD "FILEOPEND"
226 #define OTF_KEYWORD_S_ENDFILEOPERATION_OLD "FE"
227 #define OTF_KEYWORD_F_ENDFILEOPERATION_OLD 'F'
228
229 #define OTF_KEYWORD_L_ENDFILEOPERATION_NEW "FILEOPENDNEW"
230 #define OTF_KEYWORD_S_ENDFILEOPERATION_NEW "FF"
231 #define OTF_KEYWORD_F_ENDFILEOPERATION_NEW 'F'
232
233 /* *** summary record keywords *** */
234
235
236 #define OTF_KEYWORD_L_SUM_PREFIX "SUM"
237 #define OTF_KEYWORD_S_SUM_PREFIX "S"
238 #define OTF_KEYWORD_F_SUM_PREFIX 'S'
239
240 #define OTF_KEYWORD_L_SUMFUNCTION "FUNCTION"
241 #define OTF_KEYWORD_S_SUMFUNCTION "F"
242 #define OTF_KEYWORD_F_SUMFUNCTION 'F'
243
244 #define OTF_KEYWORD_L_SUMFUNCTIONGROUP "FUNCTIONGROUP"
245 #define OTF_KEYWORD_S_SUMFUNCTIONGROUP "G"
246 #define OTF_KEYWORD_F_SUMFUNCTIONGROUP 'G'
247
248 #define OTF_KEYWORD_L_SUMMESSAGE "MESSAGE"
249 #define OTF_KEYWORD_S_SUMMESSAGE "M"
250 #define OTF_KEYWORD_F_SUMMESSAGE 'M'
251
252 #define OTF_KEYWORD_L_COLLOPMESSAGE "COLLMESSAGE"
253 #define OTF_KEYWORD_S_COLLOPMESSAGE "CO"
254 #define OTF_KEYWORD_F_COLLOPMESSAGE 'C'
255
256 #define OTF_KEYWORD_L_SUMCOMMENT "COMMENT"
257 #define OTF_KEYWORD_S_SUMCOMMENT "C"
258 #define OTF_KEYWORD_F_SUMCOMMENT 'C'
259
260 #define OTF_KEYWORD_L_SUMFILEOPERATION "FILEOPERATION"
261 #define OTF_KEYWORD_S_SUMFILEOPERATION "FL"
262 #define OTF_KEYWORD_F_SUMFILEOPERATION 'F'
263
264 #define OTF_KEYWORD_L_SUMFILEGROUPOPERATION "FILEGROUPOPERATION"
265 #define OTF_KEYWORD_S_SUMFILEGROUPOPERATION "FLG"
266 #define OTF_KEYWORD_F_SUMFILEGROUPOPERATION 'F'
267
268 /* *** status record keywords *** */
269
270
271 #define OTF_KEYWORD_L_STATUS_PREFIX "T"
272 #define OTF_KEYWORD_S_STATUS_PREFIX "T"
273
274
275 /* *** snapshot keywords */
276
277
278 #define OTF_KEYWORD_L_SNAPSHOT_PREFIX "T"
279 #define OTF_KEYWORD_S_SNAPSHOT_PREFIX "T"
280 #define OTF_KEYWORD_F_SNAPSHOT_PREFIX 'T'
281
282 #define OTF_KEYWORD_L_SNAPSHOT_ENTER "ENTER"
283 #define OTF_KEYWORD_S_SNAPSHOT_ENTER "E"
284 #define OTF_KEYWORD_F_SNAPSHOT_ENTER 'E'
285
286 #define OTF_KEYWORD_L_SNAPSHOT_SEND "SEND"
287 #define OTF_KEYWORD_S_SNAPSHOT_SEND "S"
288 #define OTF_KEYWORD_F_SNAPSHOT_SEND 'S'
289
290 #define OTF_KEYWORD_L_SNAPSHOT_COMMENT "COMMENT"
291 #define OTF_KEYWORD_S_SNAPSHOT_COMMENT "C"
292 #define OTF_KEYWORD_F_SNAPSHOT_COMMENT 'C'
293
294 #define OTF_KEYWORD_L_SNAPSHOT_OPENFILE "OPENFILE"
295 #define OTF_KEYWORD_S_SNAPSHOT_OPENFILE "OF"
296 #define OTF_KEYWORD_F_SNAPSHOT_OPENFILE 'O'
297
298 #define OTF_KEYWORD_L_SNAPSHOT_BEGINCOLLOP "BEGINCOLLOP"
299 #define OTF_KEYWORD_S_SNAPSHOT_BEGINCOLLOP "BC"
300 #define OTF_KEYWORD_F_SNAPSHOT_BEGINCOLLOP 'B'
301
302 #define OTF_KEYWORD_L_SNAPSHOT_BEGINFILEOP "BEGINFILEOP"
303 #define OTF_KEYWORD_S_SNAPSHOT_BEGINFILEOP "BF"
304 #define OTF_KEYWORD_F_SNAPSHOT_BEGINFILEOP 'B'
305
306 /* *** marker keywords */
307
308
309 #define OTF_KEYWORD_L_MARKER_PREFIX "MARKER"
310 #define OTF_KEYWORD_S_MARKER_PREFIX "M"
311 #define OTF_KEYWORD_F_MARKER_PREFIX 'M'
312
313 #define OTF_KEYWORD_L_MARKER_DEFMARKER "DEF"
314 #define OTF_KEYWORD_S_MARKER_DEFMARKER "D"
315 #define OTF_KEYWORD_F_MARKER_DEFMARKER 'D'
316
317 #define OTF_KEYWORD_L_MARKER_MARKERSPOT "SPOT"
318 #define OTF_KEYWORD_S_MARKER_MARKERSPOT "S"
319 #define OTF_KEYWORD_F_MARKER_MARKERSPOT 'S'
320
321
322 /* *** keyvalue keywords *** */
323 #define OTF_KEYWORD_L_KEYVALUE_PREFIX "KEY"
324 #define OTF_KEYWORD_S_KEYVALUE_PREFIX "K"
325 #define OTF_KEYWORD_F_KEYVALUE_PREFIX 'K'
326
327
328 /* *** local keywords *** */
329
330
331 #define OTF_KEYWORD_L_LOCAL_BYTES "BYTES"
332 #define OTF_KEYWORD_S_LOCAL_BYTES "B"
333
334 #define OTF_KEYWORD_L_LOCAL_BYTESREAD "BYTESREAD"
335 #define OTF_KEYWORD_S_LOCAL_BYTESREAD "BR"
336
337 #define OTF_KEYWORD_L_LOCAL_BYTESWRITE "BYTESWRITE"
338 #define OTF_KEYWORD_S_LOCAL_BYTESWRITE "BW"
339
340 #define OTF_KEYWORD_L_LOCAL_COLLECTIVE "COLL"
341 #define OTF_KEYWORD_S_LOCAL_COLLECTIVE "CL"
342
343 #define OTF_KEYWORD_L_LOCAL_COMMUNICATOR "COMM"
344 #define OTF_KEYWORD_S_LOCAL_COMMUNICATOR "C"
345
346 #define OTF_KEYWORD_L_LOCAL_COUNT "COUNT"
347 #define OTF_KEYWORD_S_LOCAL_COUNT "N"
348
349 #define OTF_KEYWORD_L_LOCAL_DURATION "DUR"
350 #define OTF_KEYWORD_S_LOCAL_DURATION "D"
351
352 #define OTF_KEYWORD_L_LOCAL_EXCLTIME "EXCL"
353 #define OTF_KEYWORD_S_LOCAL_EXCLTIME "E"
354
355 #define OTF_KEYWORD_L_LOCAL_FILE "FILE"
356 #define OTF_KEYWORD_S_LOCAL_FILE "F"
357
358 #define OTF_KEYWORD_L_LOCAL_GROUP "GROUP"
359 #define OTF_KEYWORD_S_LOCAL_GROUP "G"
360
361 #define OTF_KEYWORD_L_LOCAL_HANDLEID "HANDLEID"
362 #define OTF_KEYWORD_S_LOCAL_HANDLEID "H"
363
364 #define OTF_KEYWORD_L_LOCAL_INCLTIME "INCL"
365 #define OTF_KEYWORD_S_LOCAL_INCLTIME "I"
366
367 #define OTF_KEYWORD_L_LOCAL_LENGTH "LEN"
368 #define OTF_KEYWORD_S_LOCAL_LENGTH "L"
369
370 #define OTF_KEYWORD_L_LOCAL_LINE "LINE"
371 #define OTF_KEYWORD_S_LOCAL_LINE "LN"
372
373 #define OTF_KEYWORD_L_LOCAL_MATCHID "MATCHID"
374 #define OTF_KEYWORD_S_LOCAL_MATCHID "MI"
375
376 #define OTF_KEYWORD_L_LOCAL_MEMBERS "MEMBERS"
377 #define OTF_KEYWORD_S_LOCAL_MEMBERS "M"
378
379 #define OTF_KEYWORD_L_LOCAL_NAME "NAME"
380 #define OTF_KEYWORD_S_LOCAL_NAME "NM"
381
382 #define OTF_KEYWORD_L_LOCAL_NUMBERSENT "NUMSENT"
383 #define OTF_KEYWORD_S_LOCAL_NUMBERSENT "NS"
384
385 #define OTF_KEYWORD_L_LOCAL_NUMBERCLOSE "NUMCLOSE"
386 #define OTF_KEYWORD_S_LOCAL_NUMBERCLOSE "NC"
387
388 #define OTF_KEYWORD_L_LOCAL_NUMBERREAD "NUMREAD"
389 #define OTF_KEYWORD_S_LOCAL_NUMBERREAD "NRD"
390
391 #define OTF_KEYWORD_L_LOCAL_NUMBERRECVD "NUMRECVD"
392 #define OTF_KEYWORD_S_LOCAL_NUMBERRECVD "NR"
393
394 #define OTF_KEYWORD_L_LOCAL_NUMBERSEEK "NUMSEEK"
395 #define OTF_KEYWORD_S_LOCAL_NUMBERSEEK "NSK"
396
397 #define OTF_KEYWORD_L_LOCAL_NUMBEROPEN "NUMOPEN"
398 #define OTF_KEYWORD_S_LOCAL_NUMBEROPEN "NO"
399
400 #define OTF_KEYWORD_L_LOCAL_NUMBERWRITE "NUMWRITTEN"
401 #define OTF_KEYWORD_S_LOCAL_NUMBERWRITE "NW"
402
403 #define OTF_KEYWORD_L_LOCAL_OPERATION "OPERATION"
404 #define OTF_KEYWORD_S_LOCAL_OPERATION "OP"
405
406 #define OTF_KEYWORD_L_LOCAL_OTIME "OTIME"
407 #define OTF_KEYWORD_S_LOCAL_OTIME "O"
408
409 #define OTF_KEYWORD_L_LOCAL_PARENT "PARENT"
410 #define OTF_KEYWORD_S_LOCAL_PARENT "PT"
411
412 #define OTF_KEYWORD_L_LOCAL_PROPERTIES "PROPERTIES"
413 #define OTF_KEYWORD_S_LOCAL_PROPERTIES "P"
414
415 #define OTF_KEYWORD_L_LOCAL_RECVD "RECVD"
416 #define OTF_KEYWORD_S_LOCAL_RECVD "R"
417
418 #define OTF_KEYWORD_L_LOCAL_ROOT "ROOT"
419 #define OTF_KEYWORD_S_LOCAL_ROOT "RT"
420
421 #define OTF_KEYWORD_L_LOCAL_SCL "SCL"
422 #define OTF_KEYWORD_S_LOCAL_SCL "X"
423
424 #define OTF_KEYWORD_L_LOCAL_SENT "SENT"
425 #define OTF_KEYWORD_S_LOCAL_SENT "S"
426
427 #define OTF_KEYWORD_L_LOCAL_TAG "TAG"
428 #define OTF_KEYWORD_S_LOCAL_TAG "T"
429
430 #define OTF_KEYWORD_L_LOCAL_TYPE "TYPE"
431 #define OTF_KEYWORD_S_LOCAL_TYPE "Y"
432
433 #define OTF_KEYWORD_L_LOCAL_UNIT "UNIT"
434 #define OTF_KEYWORD_S_LOCAL_UNIT "U"
435
436 #define OTF_KEYWORD_L_LOCAL_VALUE "VALUE"
437 #define OTF_KEYWORD_S_LOCAL_VALUE "V"
438
439 #define OTF_KEYWORD_L_LOCAL_TIME "TIME"
440 #define OTF_KEYWORD_S_LOCAL_TIME "T"
441
442 #define OTF_KEYWORD_L_LOCAL_PROCESS "PROCESS"
443 #define OTF_KEYWORD_S_LOCAL_PROCESS "P"
444
445
446 #endif /* OTF_KEYWORDS_H */
OTF_KeyValue.h
Provides an additional list of key value pairs that can be added to records.