3.1-rc3 (revision d9ca08bb)
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 
224 {
229 
233 
237 };
238 
239 
241 typedef uint8_t OTF2_LockType;
242 
249 {
253 
258 };
259 
260 
262 typedef uint8_t OTF2_RmaAtomicType;
263 
270 {
274 
278 
282 
286 
292 
298 
304 
310 };
311 
312 
314 typedef uint32_t OTF2_IoCreationFlag;
315 
325 {
329 
337 
344 
350 
358 
365 
371 
378 
384 
392 
400 
410 };
411 
412 
414 typedef uint8_t OTF2_IoSeekOption;
415 
422 {
430 
438 
446 
453 
460 };
461 
462 
464 typedef uint8_t OTF2_IoOperationMode;
465 
472 {
476 
480 
484 };
485 
486 
488 typedef uint32_t OTF2_IoOperationFlag;
489 
499 {
503 
507 
512 };
513 
514 
516 typedef uint32_t OTF2_CollectiveRoot;
517 
524 {
528 
535 
543 };
544 
545 
547 typedef union OTF2_MetricValue_union
548 {
549  int64_t signed_int;
550  uint64_t unsigned_int;
551  double floating_point;
553 
554 
555 #ifdef __cplusplus
556 }
557 #endif /* __cplusplus */
558 
559 
560 #endif /* OTF2_EVENTS_H */
Exclusive lock. No other lock will be granted.
Definition: OTF2_Events.h:252
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:414
Read operation.
Definition: OTF2_Events.h:475
Flush operation.
Definition: OTF2_Events.h:483
Synchronize processes (e.g., MPI_Win_create/free).
Definition: OTF2_Events.h:232
The measurement resumed with event recording.
Definition: OTF2_Events.h:70
Atomic fetch-and-increment operation.
Definition: OTF2_Events.h:303
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:297
Truncate file to length 0 if possible.
Definition: OTF2_Events.h:343
Create an unnamed temporary file.
Definition: OTF2_Events.h:383
Open operation will fail if pathname is not a directory.
Definition: OTF2_Events.h:349
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:452
Atomic fetch and accumulate operation with a specified operator.
Definition: OTF2_Events.h:309
OTF2_RmaSyncLevel_enum
Synchronization level used in RMA synchronization records.
Definition: OTF2_Events.h:223
Atomic accumulate operation.
Definition: OTF2_Events.h:273
Atomic test-and-set operation.
Definition: OTF2_Events.h:281
Synchronize memory copy.
Definition: OTF2_Events.h:201
The offset is applied to the start of the file.
Definition: OTF2_Events.h:429
File is only a location in the filesystem tree and is not suitable for reading and writing...
Definition: OTF2_Events.h:377
uint8_t OTF2_MeasurementMode
Wrapper for enum OTF2_MeasurementMode_enum.
Definition: OTF2_Events.h:59
Metric value.
Definition: OTF2_Events.h:547
Ensure that this call creates the file.
Definition: OTF2_Events.h:357
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:262
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:214
No flag is set.
Definition: OTF2_Events.h:328
Write operation.
Definition: OTF2_Events.h:479
Ensure that the file size can be represented by a 64-bit datatype.
Definition: OTF2_Events.h:391
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:248
The I/O operation is performed collectively over the communicator of the referenced IoHandle handle...
Definition: OTF2_Events.h:511
Barrier synchronization.
Definition: OTF2_Events.h:90
Atomic increment operation.
Definition: OTF2_Events.h:277
uint32_t OTF2_IoOperationFlag
Wrapper for enum OTF2_IoOperationFlag_enum.
Definition: OTF2_Events.h:488
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:285
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:241
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:445
Gives the advice that this will be the only active IoHandle of the IoParadigm which will operate on t...
Definition: OTF2_Events.h:409
Complete memory accesses (e.g., MPI_Win_complete, MPI_Win_wait).
Definition: OTF2_Events.h:236
If the file does not exist, it will be created.
Definition: OTF2_Events.h:336
The root is in the same group of an InterComm as this rank itself.
Definition: OTF2_Events.h:542
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:421
Outgoing remote notification.
Definition: OTF2_Events.h:209
Atomic swap operation.
Definition: OTF2_Events.h:291
This rank is the root of the collective operation.
Definition: OTF2_Events.h:534
No process synchronization or access completion (e.g., MPI_Win_post, MPI_Win_start).
Definition: OTF2_Events.h:228
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:523
No root.
Definition: OTF2_Events.h:527
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:364
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:324
OTF2_RmaAtomicType_enum
RMA atomic operation type.
Definition: OTF2_Events.h:269
#define OTF2_UNDEFINED_UINT32
Undefined value for type uint32_t.
Definition: OTF2_GeneralDefinitions.h:91
No special semantics.
Definition: OTF2_Events.h:502
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:370
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:459
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:516
The offset is applied to the current file position.
Definition: OTF2_Events.h:437
OTF2_IoOperationMode_enum
Operation mode of an I/O file operation.
Definition: OTF2_Events.h:471
The I/O operation was performed in a non-blocking mode.
Definition: OTF2_Events.h:506
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:399
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:498
uint32_t OTF2_IoCreationFlag
Wrapper for enum OTF2_IoCreationFlag_enum.
Definition: OTF2_Events.h:314
Error codes and error handling.
uint8_t OTF2_IoOperationMode
Wrapper for enum OTF2_IoOperationMode_enum.
Definition: OTF2_Events.h:464
Shared lock. Other shared locks will be granted, but no exclusive locks.
Definition: OTF2_Events.h:257
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