3.0-rc2 (revision 337012f1)
OTF2_Events.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Score-P software (http://www.score-p.org)
3  *
4  * Copyright (c) 2009-2012,
5  * RWTH Aachen University, Germany
6  *
7  * Copyright (c) 2009-2012,
8  * Gesellschaft fuer numerische Simulation mbH Braunschweig, Germany
9  *
10  * Copyright (c) 2009-2012, 2014, 2021,
11  * Technische Universitaet Dresden, Germany
12  *
13  * Copyright (c) 2009-2012,
14  * University of Oregon, Eugene, USA
15  *
16  * Copyright (c) 2009-2012,
17  * Forschungszentrum Juelich GmbH, Germany
18  *
19  * Copyright (c) 2009-2012,
20  * German Research School for Simulation Sciences GmbH, Juelich/Aachen, Germany
21  *
22  * Copyright (c) 2009-2012,
23  * Technische Universitaet Muenchen, Germany
24  *
25  * This software may be modified and distributed under the terms of
26  * a BSD-style license. See the COPYING file in the package base
27  * directory for details.
28  *
29  */
30 
31 
32 #ifndef OTF2_EVENTS_H
33 #define OTF2_EVENTS_H
34 
35 
44 #include "otf2_compiler.h"
45 
46 
47 #include <otf2/OTF2_ErrorCodes.h>
48 
49 
51 
52 
53 #ifdef __cplusplus
54 extern "C" {
55 #endif /* __cplusplus */
56 
57 
59 typedef uint8_t OTF2_MeasurementMode;
60 
67 {
71 
75 };
76 
77 
79 typedef uint8_t OTF2_CollectiveOp;
80 
87 {
91 
95 
99 
104 
108 
113 
118 
123 
127 
132 
137 
142 
146 
150 
154 
158 
162 
166 
170 
174 
178 
182 
186 };
187 
188 
190 typedef uint8_t OTF2_RmaSyncType;
191 
198 {
202 
206 
210 };
211 
212 
214 typedef uint32_t OTF2_RmaSyncLevel;
215 
222 {
227 
231 
235 };
236 
237 
239 typedef uint8_t OTF2_LockType;
240 
247 {
251 
256 };
257 
258 
260 typedef uint8_t OTF2_RmaAtomicType;
261 
268 {
272 
276 
280 
284 
290 
296 
302 
308 };
309 
310 
312 typedef uint32_t OTF2_IoCreationFlag;
313 
321 {
325 
333 
340 
346 
354 
361 
367 
374 
380 
388 
396 
406 };
407 
408 
410 typedef uint8_t OTF2_IoSeekOption;
411 
418 {
426 
434 
442 
449 
456 };
457 
458 
460 typedef uint8_t OTF2_IoOperationMode;
461 
468 {
472 
476 
480 };
481 
482 
484 typedef uint32_t OTF2_IoOperationFlag;
485 
493 {
497 
501 
506 };
507 
508 
510 typedef uint32_t OTF2_CollectiveRoot;
511 
518 {
522 
529 
537 };
538 
539 
541 typedef union OTF2_MetricValue_union
542 {
543  int64_t signed_int;
544  uint64_t unsigned_int;
545  double floating_point;
547 
548 
549 #ifdef __cplusplus
550 }
551 #endif /* __cplusplus */
552 
553 
554 #endif /* OTF2_EVENTS_H */
Exclusive lock. No other lock will be granted.
Definition: OTF2_Events.h:250
Collective scatter/gather operation (complete exchange)
Definition: OTF2_Events.h:126
uint8_t OTF2_RmaSyncType
Wrapper for enum OTF2_RmaSyncType_enum.
Definition: OTF2_Events.h:190
uint8_t OTF2_IoSeekOption
Wrapper for enum OTF2_IoSeekOption_enum.
Definition: OTF2_Events.h:410
Read operation.
Definition: OTF2_Events.h:471
Flush operation.
Definition: OTF2_Events.h:479
Synchronize processes (e.g., MPI_Win_create/free).
Definition: OTF2_Events.h:230
The measurement resumed with event recording.
Definition: OTF2_Events.h:70
Atomic fetch-and-increment operation.
Definition: OTF2_Events.h:301
OTF2_MeasurementMode_enum
List of possible modes for use in the MeasurementOnOff event.
Definition: OTF2_Events.h:66
Atomic fetch-and-add operation.
Definition: OTF2_Events.h:295
Truncate file to length 0 if possible.
Definition: OTF2_Events.h:339
Create an unnamed temporary file.
Definition: OTF2_Events.h:379
Open operation will fail if pathname is not a directory.
Definition: OTF2_Events.h:345
Collective reduction operation.
Definition: OTF2_Events.h:145
The offset is applied to the next position in the file containing data.
Definition: OTF2_Events.h:448
Atomic fetch and accumulate operation with a specified operator.
Definition: OTF2_Events.h:307
OTF2_RmaSyncLevel_enum
Synchronization level used in RMA synchronization records.
Definition: OTF2_Events.h:221
Atomic accumulate operation.
Definition: OTF2_Events.h:271
Atomic test-and-set operation.
Definition: OTF2_Events.h:279
Synchronize memory copy.
Definition: OTF2_Events.h:201
The offset is applied to the start of the file.
Definition: OTF2_Events.h:425
File is only a location in the filesystem tree and is not suitable for reading and writing...
Definition: OTF2_Events.h:373
uint8_t OTF2_MeasurementMode
Wrapper for enum OTF2_MeasurementMode_enum.
Definition: OTF2_Events.h:59
Metric value.
Definition: OTF2_Events.h:541
Ensure that this call creates the file.
Definition: OTF2_Events.h:353
Collective exclusive scan operation across all members of a group.
Definition: OTF2_Events.h:157
Gather data from all group members, varying count of data from each member, all members of the group ...
Definition: OTF2_Events.h:122
Collective scan operation across all members of a group.
Definition: OTF2_Events.h:153
uint8_t OTF2_RmaAtomicType
Wrapper for enum OTF2_RmaAtomicType_enum.
Definition: OTF2_Events.h:260
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:214
No flag is set.
Definition: OTF2_Events.h:324
Write operation.
Definition: OTF2_Events.h:475
Ensure that the file size can be represented by a 64-bit datatype.
Definition: OTF2_Events.h:387
Collectively destroy a handle.
Definition: OTF2_Events.h:169
Incoming remote notification.
Definition: OTF2_Events.h:205
OTF2_LockType_enum
General lock type.
Definition: OTF2_Events.h:246
The I/O operation is performed collectively over the communicator of the referenced IoHandle handle...
Definition: OTF2_Events.h:505
Barrier synchronization.
Definition: OTF2_Events.h:90
Atomic increment operation.
Definition: OTF2_Events.h:275
uint32_t OTF2_IoOperationFlag
Wrapper for enum OTF2_IoOperationFlag_enum.
Definition: OTF2_Events.h:484
This header file provides general definitions which should be accessible in all internal and external...
Collective reduction operation, all members of the group will receive the result. ...
Definition: OTF2_Events.h:141
Atomic compare-and-swap operation.
Definition: OTF2_Events.h:283
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:239
Gather data from all group members to one member.
Definition: OTF2_Events.h:98
The offset is applied to the end of the file.
Definition: OTF2_Events.h:441
Gives the advice that this will be the only active IoHandle of the IoParadigm which will operate on t...
Definition: OTF2_Events.h:405
Complete memory accesses (e.g., MPI_Win_complete, MPI_Win_wait).
Definition: OTF2_Events.h:234
If the file does not exist, it will be created.
Definition: OTF2_Events.h:332
The root is in the same group of an InterComm as this rank itself.
Definition: OTF2_Events.h:536
Collectively create a handle and allocate memory.
Definition: OTF2_Events.h:181
Collective scatter/gather operation (complete exchange), varying count of data from each member...
Definition: OTF2_Events.h:136
Collectively destroy a handle and deallocate memory.
Definition: OTF2_Events.h:185
OTF2_IoSeekOption_enum
Options for repositioning a file offset with file seek operations.
Definition: OTF2_Events.h:417
Outgoing remote notification.
Definition: OTF2_Events.h:209
Atomic swap operation.
Definition: OTF2_Events.h:289
This rank is the root of the collective operation.
Definition: OTF2_Events.h:528
No process synchronization or access completion (e.g., MPI_Win_post, MPI_Win_start).
Definition: OTF2_Events.h:226
OTF2_RmaSyncType_enum
Type of direct RmaSync record.
Definition: OTF2_Events.h:197
OTF2_CollectiveRoot_enum
Special constants for root ranks in collective operations.
Definition: OTF2_Events.h:517
No root.
Definition: OTF2_Events.h:521
Broadcast data from one member to all group members.
Definition: OTF2_Events.h:94
File is a terminal device and should not be promoted to a controlling terminal, if non existed before...
Definition: OTF2_Events.h:360
Scatter data from one member to all group members, varying count of data from each member...
Definition: OTF2_Events.h:112
The measurement suspended with event recording.
Definition: OTF2_Events.h:74
uint8_t OTF2_CollectiveOp
Wrapper for enum OTF2_CollectiveOp_enum.
Definition: OTF2_Events.h:79
Compiler feature test macros.
OTF2_IoCreationFlag_enum
Special I/O handle creation modes when creating the handle with the IoCreateHandle event...
Definition: OTF2_Events.h:320
OTF2_RmaAtomicType_enum
RMA atomic operation type.
Definition: OTF2_Events.h:267
#define OTF2_UNDEFINED_UINT32
Undefined value for type uint32_t.
Definition: OTF2_GeneralDefinitions.h:91
No special semantics.
Definition: OTF2_Events.h:496
Scatter data from one member to all group members.
Definition: OTF2_Events.h:107
If pathname is a symbolic link, then the open operation will fail.
Definition: OTF2_Events.h:366
Collectively allocate memory.
Definition: OTF2_Events.h:173
The offset is applied to the next position in the file containing no data.
Definition: OTF2_Events.h:455
Collective scatter/gather operation (complete exchange), varying count of data from each member...
Definition: OTF2_Events.h:131
Gather data from all group members, all members of the group will receive the result.
Definition: OTF2_Events.h:117
uint32_t OTF2_CollectiveRoot
Wrapper for enum OTF2_CollectiveRoot_enum.
Definition: OTF2_Events.h:510
The offset is applied to the current file position.
Definition: OTF2_Events.h:433
OTF2_IoOperationMode_enum
Operation mode of an I/O file operation.
Definition: OTF2_Events.h:467
The I/O operation was performed in a non-blocking mode.
Definition: OTF2_Events.h:500
Collectively create a handle (ie. MPI_Win, MPI_Comm, MPI_File).
Definition: OTF2_Events.h:165
Collective reduce/scatter operation, varying size of scattered blocks.
Definition: OTF2_Events.h:149
Gives the advice that no reposition will happen on this I/O handle. E.g., no seek operation or simila...
Definition: OTF2_Events.h:395
OTF2_CollectiveOp_enum
Types of collective operations.
Definition: OTF2_Events.h:86
Collectively deallocate memory.
Definition: OTF2_Events.h:177
OTF2_IoOperationFlag_enum
Flags for I/O operations to indicate specific semantics of the operation.
Definition: OTF2_Events.h:492
uint32_t OTF2_IoCreationFlag
Wrapper for enum OTF2_IoCreationFlag_enum.
Definition: OTF2_Events.h:312
Error codes and error handling.
uint8_t OTF2_IoOperationMode
Wrapper for enum OTF2_IoOperationMode_enum.
Definition: OTF2_Events.h:460
Shared lock. Other shared locks will be granted, but no exclusive locks.
Definition: OTF2_Events.h:255
Gather data from all group members to one member, varying count of data from each member...
Definition: OTF2_Events.h:103
Collective reduce/scatter operation.
Definition: OTF2_Events.h:161