OpenMPI 0.1.1

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

- File List
- Globals

Handler.h
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 #ifndef OTFTOVTF3_HANDLER_H
7 #define OTFTOVTF3_HANDLER_H
8
9 #ifdef HAVE_CONFIG_H
10 #include "config.h"
11 #endif
12
13
14 #include "OTF_inttypes.h"
15
16 #include "otf.h"
17
18
19 /* *** Definition handler *** ************************************* */
20
21
22 int handleDeftimerresolution( void* firsthandlerarg, uint32_t streamid,
23 uint64_t ticksPerSecond );
24
25 int handleDefprocess( void* firsthandlerarg, uint32_t streamid,
26 uint32_t deftoken, const char* name, uint32_t parent );
27
28 int handleDefFunction( void* firsthandlerarg, uint32_t streamid,
29 uint32_t deftoken, const char* name, uint32_t group, uint32_t scltoken );
30
31 int handleDefFile( void* userData, uint32_t stream, uint32_t token,
32 const char* name, uint32_t group );
33
34 int handleDefCollectiveOperation(void *firsthandlerarg, uint32_t stream,
35 uint32_t collOp, const char *name, uint32_t type);
36
37 /* *** Event handler *** ****************************************** */
38
39 int handleCounter( void* firsthandlerarg, uint64_t time, uint32_t process,
40 uint32_t counter_token, uint64_t value );
41
42 int handleEnter( void* firsthandlerarg, uint64_t time, uint32_t statetoken,
43 uint32_t cpuid, uint32_t scltoken, OTF_KeyValueList *kvlist );
44
45 int handleRecvmsg( void* firsthandlerarg, uint64_t time, uint32_t receiver,
46 uint32_t sender, uint32_t procGroup, uint32_t msgtag, uint32_t msglength,
47 uint32_t scltoken );
48
49 int handleSendmsg( void* firsthandlerarg, uint64_t time, uint32_t sender,
50 uint32_t receiver, uint32_t procGroup, uint32_t msgtag, uint32_t msglength,
51 uint32_t scltoken, OTF_KeyValueList *kvlist );
52
53 int handleLeave( void* firsthandlerarg, uint64_t time, uint32_t statetoken,
54 uint32_t cpuid, uint32_t scltoken );
55
56 int handleBeginProcess( void* firsthandlerarg, uint64_t time,
57 uint32_t process );
58
59 int handleEndProcess( void* firsthandlerarg, uint64_t time,
60 uint32_t process );
61
62 int handleEventComment( void* firsthandlerarg, uint64_t time,
63 const char* comment );
64
65 int handleCollectiveOperation( void* firsthandlerarg, uint64_t time,
66 uint32_t process, uint32_t functionToken, uint32_t communicator,
67 uint32_t rootprocess, uint32_t sent, uint32_t received,
68 uint64_t duration, uint32_t scltoken );
69
70 int handleFileOperation( void* firsthandlerarg, uint64_t time, uint32_t fileid,
71 uint32_t process, uint64_t handleid, uint32_t operation, uint64_t bytes,
72 uint64_t duration, uint32_t source, OTF_KeyValueList *kvlist );
73
74 int handleBeginCollectiveOperation( void *firsthandlerarg, uint64_t time, uint32_t process,
75 uint32_t collOp, uint64_t matchingId, uint32_t procGroup, uint32_t rootProc,
76 uint64_t sent, uint64_t received, uint32_t scltoken, OTF_KeyValueList *kvlist );
77
78 int handleEndCollectiveOperation( void *firsthandlerarg, uint64_t time,
79 uint32_t process, uint64_t matchingId );
80
81 int handleBeginFileOperation( void *firsthandlerarg, uint64_t time, uint32_t process,
82 uint64_t matchingId, uint32_t scltoken, OTF_KeyValueList *kvlist );
83
84 int handleEndFileOperation( void *firsthandlerarg, uint64_t time, uint32_t process,
85 uint32_t fileid, uint64_t matchingId, uint64_t handleId, uint32_t operation,
86 uint64_t bytes, uint32_t scltoken, OTF_KeyValueList *kvlist );
87
88 #endif /* OTFTOVTF3_HANDLER_H */
otf.h
Main include file for applications using OTF.
OTF_KeyValueList
struct OTF_KeyValueList_struct OTF_KeyValueList
Object type which holds a key-value list.
Definition: OTF_KeyValue.h:242
OTF_inttypes.h
Deals with all data type related issues.