2.2 (revision 4737)
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,
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/OTF2_ErrorCodes.h>
45 
46 
48 
49 
50 #ifdef __cplusplus
51 extern "C" {
52 #endif /* __cplusplus */
53 
54 
56 typedef uint8_t OTF2_MeasurementMode;
57 
64 {
71 };
72 
73 
75 typedef uint8_t OTF2_CollectiveOp;
76 
83 {
160 };
161 
162 
164 typedef uint8_t OTF2_RmaSyncType;
165 
172 {
182 };
183 
184 
186 typedef uint32_t OTF2_RmaSyncLevel;
187 
194 {
205 };
206 
207 
209 typedef uint8_t OTF2_LockType;
210 
217 {
225 };
226 
227 
229 typedef uint8_t OTF2_RmaAtomicType;
230 
237 {
270 };
271 
272 
274 typedef uint32_t OTF2_IoCreationFlag;
275 
283 {
357 };
358 
359 
361 typedef uint8_t OTF2_IoSeekOption;
362 
369 {
403 };
404 
405 
407 typedef uint8_t OTF2_IoOperationMode;
408 
415 {
425 };
426 
427 
429 typedef uint32_t OTF2_IoOperationFlag;
430 
438 {
449 };
450 
451 
453 typedef union OTF2_MetricValue_union
454 {
455  int64_t signed_int;
456  uint64_t unsigned_int;
457  double floating_point;
459 
460 
461 #ifdef __cplusplus
462 }
463 #endif /* __cplusplus */
464 
465 
466 #endif /* OTF2_EVENTS_H */
Exclusive lock. No other lock will be granted.
Definition: OTF2_Events.h:220
Collective scatter/gather operation (complete exchange)
Definition: OTF2_Events.h:114
uint8_t OTF2_RmaSyncType
Wrapper for enum OTF2_RmaSyncType_enum.
Definition: OTF2_Events.h:164
uint8_t OTF2_IoSeekOption
Wrapper for enum OTF2_IoSeekOption_enum.
Definition: OTF2_Events.h:361
Read operation.
Definition: OTF2_Events.h:418
Flush operation.
Definition: OTF2_Events.h:424
Synchronize processes (e.g., MPI_Win_create/free).
Definition: OTF2_Events.h:201
The measurement resumed with event recording.
Definition: OTF2_Events.h:67
Atomic fetch-and-increment operation.
Definition: OTF2_Events.h:264
OTF2_MeasurementMode_enum
Types for use in the MeasurementOnOff event.
Definition: OTF2_Events.h:63
Atomic fetch-and-add operation.
Definition: OTF2_Events.h:259
Truncate file to length 0 if possible.
Definition: OTF2_Events.h:299
Create an unnamed temporary file.
Definition: OTF2_Events.h:333
Open operation will fail if pathname is not a directory.
Definition: OTF2_Events.h:304
Collective reduction operation.
Definition: OTF2_Events.h:129
The offset is applied to the next position in the file containing data.
Definition: OTF2_Events.h:396
Atomic fetch and accumulate operation with a specified operator.
Definition: OTF2_Events.h:269
OTF2_RmaSyncLevel_enum
Synchronization level used in RMA synchronization records.
Definition: OTF2_Events.h:193
Atomic accumulate operation.
Definition: OTF2_Events.h:240
Atomic test-and-set operation.
Definition: OTF2_Events.h:246
Synchronize memory copy.
Definition: OTF2_Events.h:175
The offset is applied to the start of the file.
Definition: OTF2_Events.h:376
File is only a location in the filesystem tree and is not suitable for reading and writing...
Definition: OTF2_Events.h:328
uint8_t OTF2_MeasurementMode
Wrapper for enum OTF2_MeasurementMode_enum.
Definition: OTF2_Events.h:56
Metric value.
Definition: OTF2_Events.h:453
Ensure that this call creates the file.
Definition: OTF2_Events.h:311
Collective exclusive scan operation across all members of a group.
Definition: OTF2_Events.h:138
Gather data from all group members, varying count of data from each member, all members of the group ...
Definition: OTF2_Events.h:111
Collective scan operation across all members of a group.
Definition: OTF2_Events.h:135
uint8_t OTF2_RmaAtomicType
Wrapper for enum OTF2_RmaAtomicType_enum.
Definition: OTF2_Events.h:229
uint32_t OTF2_RmaSyncLevel
Wrapper for enum OTF2_RmaSyncLevel_enum.
Definition: OTF2_Events.h:186
No flag is set.
Definition: OTF2_Events.h:286
Write operation.
Definition: OTF2_Events.h:421
Ensure that the file size can be represented by a 64-bit datatype.
Definition: OTF2_Events.h:340
Collectively destroy a handle.
Definition: OTF2_Events.h:147
Incoming remote notification.
Definition: OTF2_Events.h:178
OTF2_LockType_enum
General Lock Type.
Definition: OTF2_Events.h:216
The I/O operation is performed collectively over the communicator of the referenced IoHandle handle...
Definition: OTF2_Events.h:448
Barrier synchronization.
Definition: OTF2_Events.h:86
Atomic increment operation.
Definition: OTF2_Events.h:243
uint32_t OTF2_IoOperationFlag
Wrapper for enum OTF2_IoOperationFlag_enum.
Definition: OTF2_Events.h:429
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:126
Atomic compare-and-swap operation.
Definition: OTF2_Events.h:249
uint8_t OTF2_LockType
Wrapper for enum OTF2_LockType_enum.
Definition: OTF2_Events.h:209
Gather data from all group members to one member.
Definition: OTF2_Events.h:92
The offset is applied to the end of the file.
Definition: OTF2_Events.h:390
Gives the advice that this will be the only active IoHandle of the IoParadigm which will operate on t...
Definition: OTF2_Events.h:356
Complete memory accesses (e.g., MPI_Win_complete, MPI_Win_wait).
Definition: OTF2_Events.h:204
If the file does not exist, it will be created.
Definition: OTF2_Events.h:293
Collectively create a handle and allocate memory.
Definition: OTF2_Events.h:156
Collective scatter/gather operation (complete exchange), varying count of data from each member...
Definition: OTF2_Events.h:122
Collectively destroy a handle and deallocate memory.
Definition: OTF2_Events.h:159
OTF2_IoSeekOption_enum
Options for repositioning a file offset with file seek operations.
Definition: OTF2_Events.h:368
Outgoing remote notification.
Definition: OTF2_Events.h:181
Atomic swap operation.
Definition: OTF2_Events.h:254
No process synchronization or access completion (e.g., MPI_Win_post, MPI_Win_start).
Definition: OTF2_Events.h:198
OTF2_RmaSyncType_enum
Type of direct RMA synchronization call.
Definition: OTF2_Events.h:171
Broadcast data from one member to all group members.
Definition: OTF2_Events.h:89
File is a terminal device and should not be promoted to a controlling terminal, if non existed before...
Definition: OTF2_Events.h:317
Scatter data from one member to all group members, varying count of data from each member...
Definition: OTF2_Events.h:103
The measurement suspended with event recording.
Definition: OTF2_Events.h:70
uint8_t OTF2_CollectiveOp
Wrapper for enum OTF2_CollectiveOp_enum.
Definition: OTF2_Events.h:75
OTF2_IoCreationFlag_enum
Special I/O handle creation modes when creating the handle with the IoCreateHandle event...
Definition: OTF2_Events.h:282
OTF2_RmaAtomicType_enum
RMA Atomic Operation Type.
Definition: OTF2_Events.h:236
No special semantics.
Definition: OTF2_Events.h:441
Scatter data from one member to all group members.
Definition: OTF2_Events.h:99
If pathname is a symbolic link, then the open operation will fail.
Definition: OTF2_Events.h:322
Collectively allocate memory.
Definition: OTF2_Events.h:150
The offset is applied to the next position in the file containing no data.
Definition: OTF2_Events.h:402
Collective scatter/gather operation (complete exchange), varying count of data from each member...
Definition: OTF2_Events.h:118
Gather data from all group members, all members of the group will receive the result.
Definition: OTF2_Events.h:107
The offset is applied to the current file position.
Definition: OTF2_Events.h:383
OTF2_IoOperationMode_enum
Operation mode of an I/O file operation.
Definition: OTF2_Events.h:414
The I/O operation was performed in a non-blocking mode.
Definition: OTF2_Events.h:444
Collectively create a handle (ie. MPI_Win, MPI_Comm, MPI_File).
Definition: OTF2_Events.h:144
Collective reduce/scatter operation, varying size of scattered blocks.
Definition: OTF2_Events.h:132
Gives the advice that no reposition will happen on this I/O handle. E.g., no seek operation or simila...
Definition: OTF2_Events.h:347
OTF2_CollectiveOp_enum
Types of collective operations.
Definition: OTF2_Events.h:82
Collectively deallocate memory.
Definition: OTF2_Events.h:153
OTF2_IoOperationFlag_enum
Flags for I/O operations to indicate specific semantics of the operation.
Definition: OTF2_Events.h:437
uint32_t OTF2_IoCreationFlag
Wrapper for enum OTF2_IoCreationFlag_enum.
Definition: OTF2_Events.h:274
Error codes and error handling.
uint8_t OTF2_IoOperationMode
Wrapper for enum OTF2_IoOperationMode_enum.
Definition: OTF2_Events.h:407
Shared lock. Other shared locks will be granted, but no exclusive locks.
Definition: OTF2_Events.h:224
Gather data from all group members to one member, varying count of data from each member...
Definition: OTF2_Events.h:96
Collective reduce/scatter operation.
Definition: OTF2_Events.h:141