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
17 /* *** Definition handler *** ************************************* */
18
19 int handleDefinitionComment( void* firsthandlerarg, uint32_t streamid,
20 const char* comment );
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 handleDefprocessgroup( void* firsthandlerarg, uint32_t streamid,
29 uint32_t deftoken, const char* name, uint32_t n, uint32_t* array );
30
31 int handleDeffunction( void* firsthandlerarg, uint32_t streamid,
32 uint32_t deftoken, const char* name, uint32_t group, uint32_t scltoken );
33
34 int handleDeffunctiongroup( void* firsthandlerarg, uint32_t streamid,
35 uint32_t deftoken, const char* name );
36
37 int handleDefcounter( void* firsthandlerarg, uint32_t streamid,
38 uint32_t deftoken, const char* name, uint32_t properties,
39 uint32_t countergroup, const char* unit );
40
41 int handleDefcountergroup( void* firsthandlerarg, uint32_t streamid,
42 uint32_t deftoken, const char* name );
43
44 int handleDefCollectiveOperation( void* firsthandlerarg, uint32_t streamid,
45 uint32_t deftoken, const char* name, uint32_t type );
46
47 int handleDefscl( void* firsthandlerarg, uint32_t streamid,
48 uint32_t deftoken, uint32_t sclfile, uint32_t sclline );
49
50 int handleDefsclfile( void* firsthandlerarg, uint32_t streamid,
51 uint32_t deftoken, const char* filename );
52
53 int handleDefFile( void* firsthandlerarg, uint32_t streamid,
54 uint32_t token, const char* name, uint32_t group );
55
56
57 /* *** Event handler *** ****************************************** */
58
59 int handleEventComment( void* firsthandlerarg, uint64_t time,
60 const char* comment );
61
62 int handleCounter( void* firsthandlerarg, uint64_t time, uint32_t process,
63 uint32_t counter_token, uint64_t value );
64
65 int handleEnter( void* firsthandlerarg, uint64_t time, uint32_t statetoken,
66 uint32_t cpuid, uint32_t scltoken );
67
68 int handleCollectiveOperation( void* firsthandlerarg, uint64_t time,
69 uint32_t process, uint32_t globaloptoken, uint32_t communicator,
70 uint32_t rootprocess, uint32_t sent, uint32_t received,
71 uint64_t duration, uint32_t scltoken );
72
73 int handleRecvmsg( void* firsthandlerarg, uint64_t time, uint32_t receiver,
74 uint32_t sender, uint32_t communicator, uint32_t msgtype, uint32_t msglength,
75 uint32_t scltoken );
76
77 int handleSendmsg( void* firsthandlerarg, uint64_t time, uint32_t sender,
78 uint32_t receiver, uint32_t communicator, uint32_t msgtype, uint32_t msglength,
79 uint32_t scltoken );
80
81 int handleLeave( void* firsthandlerarg, uint64_t time, uint32_t statetoken,
82 uint32_t cpuid, uint32_t scltoken );
83
84 int handleBeginProcess( void* firsthandlerarg, uint64_t time,
85 uint32_t process );
86
87 int handleEndProcess( void* firsthandlerarg, uint64_t time,
88 uint32_t process );
89
90 int handleFileOperation( void* firsthandlerarg, uint64_t time, uint32_t fileid,
91 uint32_t process, uint64_t handleid, uint32_t operation, uint64_t bytes,
92 uint64_t duration, uint32_t source );
93
94
95
96 #endif /* OTFTOVTF3_HANDLER_H */
OTF_inttypes.h
Deals with all data type related issues.