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 VTF3TOOTF_HANDLER_H
7 #define VTF3TOOTF_HANDLER_H
8
9 int handleClstrregval( void *fcbout, double time, int clstrtoken,
10 int clstrregarraydim, const int *clstrregtokenarray,
11 const int *clstrregvaluetypearray,
12 const void *clstrregvaluearray );
13
14 int handleComment( void *fcbout, double time, const char *comment );
15
16 int handleCpuregval( void *fcbout, double time, unsigned int cpuid,
17 int cpuregarraydim, const int *cpuregtokenarray,
18 const int *cpuregvaluetypearray,
19 const void *cpuregvaluearray );
20
21 int handleDefact( void *fcbout, int activitytoken,
22 const char *activityname );
23
24 int handleDefact_obsol( void *fcbout, int activitytoken,
25 const char *activityname );
26
27 int handleDefclkperiod( void *fcbout, double clkperiod );
28
29 int handleDefclstr( void *fcbout, int clstrtoken, const char *clstrname,
30 int cpuidarraydim, const unsigned int *cpuidarray );
31
32 int handleDefclstrreg( void *fcbout, int clstrregtoken,
33 int clstrregclasstoken, int valuetype,
34 const void *valuebounds, const char *clstrregname,
35 const char *clstrregunit );
36
37 int handleDefclstrregclass( void *fcbout, int clstrregclasstoken,
38 const char *clstrregclassname );
39
40 int handleDefcommunicator( void *fcbout, int communicator,
41 int communicatorsize, int tripletarraydim,
42 const unsigned int *tripletarray );
43
44 int handleDefcpugrp( void *fcbout, unsigned int cpugrpid,
45 int cpuorcpugrpidarraydim,
46 const unsigned int *cpuorcpugrpidarray,
47 const char *cpugrpname );
48
49 int handleDefcpuname( void *fcbout, unsigned int cpuid,
50 const char *cpuname );
51
52 int handleDefcpureg( void *fcbout, int cpuregtoken, int cpuregclasstoken,
53 int valuetype, const void *valuebounds,
54 const char *cpuregname, const char *cpuregunit );
55
56 int handleDefcpuregclass( void *fcbout, int cpuregclasstoken,
57 const char *cpuregclassname );
58
59 /*
60 int handleDefcreator( void *fcbout, const char *creator );
61 */
62
63 int handleDefglobalop( void *fcbout, int globaloptoken,
64 const char *globalopname );
65
66 int handleDefiofile( void *fcbout, int iofiletoken, int communicator,
67 const char *iofilename );
68
69 int handleDefkparreg( void *fcbout, int kparregtoken,
70 const char *kparregname );
71
72 int handleDefmsgname( void *fcbout, int msgtype, int communicator,
73 const char *msgname );
74
75 int handleDefopenmpname( void *fcbout, unsigned int nametoken,
76 const char *openmpname );
77
78 int handleDefopenmptype( void *fcbout, unsigned int constructtypetoken,
79 const char *constructtypename );
80
81 int handleDefpattern( void *fcbout, int activitytoken, int pattoken,
82 int patshptoken, double radius, int ratio,
83 int timesteparraydim, const double *timesteparray );
84
85 int handleDefpatternshape( void *fcbout, int activitytoken, int patshptoken,
86 int patterntype, int patshptokenbref1, int patshptokenbref2 );
87
88 int handleDefredfunc_obsol( void *fcbout, int redfunctoken,
89 const char *redfuncname );
90
91 int handleDefsamp( void *fcbout, int sampletoken, int sampleclasstoken,
92 int iscpugrpsamp, unsigned int cpuorcpugrpid, int valuetype,
93 const void *valuebounds, int dodifferentiation,
94 int datarephint, const char *samplename,
95 const char *sampleunit );
96
97 int handleDefsampclass( void *fcbout, int sampleclasstoken,
98 const char *sampleclassname );
99
100 int handleDefscl( void *fcbout, int scltoken, int sclarraydim,
101 const int *sclfiletokenarray,
102 const int *scllinepositionarray );
103
104 int handleDefsclfile( void *fcbout, int sclfiletoken,
105 const char *sclfilename );
106
107 int handleDefstate( void *fcbout, int activitytoken, int statetoken,
108 const char *statename, int scltoken );
109
110 int handleDefstate_obsol( void *fcbout, int activitytoken,
111 const char *activityname, unsigned int activityvalidity,
112 int statetoken, const char *statename );
113
114 int handleDefsyscpunames( void *fcbout, int systemcpunamearraydim,
115 char * const *systemcpunamearray );
116
117 int handleDefsyscpunums( void *fcbout, int systemcpunumberarraydim,
118 const int *systemcpunumberarray );
119
120 int handleDefthreadnums( void *fcbout, int threadnumarraydim,
121 const int *threadnumarray );
122
123 int handleDeftimeoffset( void *fcbout, double timeoffset );
124
125 int handleDefunmerged( void *fcbout );
126
127 /* doesn´t exist in otf
128 int handleDefversion( void *fcbout, int versionnumber );
129 */
130 int handleDownto( void *fcbout, double time, int statetoken,
131 unsigned int cpuid, int scltoken );
132
133 int handleExchange( void *fcbout, double time, unsigned int cpuid,
134 int exchangetype, int statetoken, int job, int scltoken );
135
136 int handleExchange_obsol( void *fcbout, double time, unsigned int cpuid,
137 int exchangetype, int statetoken, int activitytoken,
138 const char *activityname, unsigned int activityvalidity,
139 int job );
140
141 int handleFileiobegin( void *fcbout, double time, unsigned int cpuid,
142 int fileiotype, int iofiletoken, int bytescopied,
143 int scltoken );
144
145 int handleFileioend( void *fcbout, double time, unsigned int cpuid,
146 int fileiotype, int iofiletoken, int bytescopied,
147 int scltoken );
148
149 int handleGlobalop( void *fcbout, double time, int globaloptoken,
150 unsigned int cpuid, int communicator,
151 unsigned int rootcpuid, int bytessent, int bytesreceived,
152 double durationtimesteps, int scltoken );
153
154 int handleKparregbarsum( void *fcbout, double time, unsigned int cpuid,
155 int kparregtoken, int seqn, int opasize,
156 const void *opastream, int scltoken );
157
158 int handleKparregbegin( void *fcbout, double time, unsigned int cpuid,
159 int kparregtoken, int seqn, int numthreads, int scltoken );
160
161 int handleKparregend( void *fcbout, double time, unsigned int cpuid,
162 int kparregtoken, int seqn, int opasize,
163 const void *opastream, int scltoken );
164
165 int handleMutexacquire( void *fcbout, double time, unsigned int cpuid,
166 int enterstatetoken, int leavestatetoken,
167 int leavestatetokenisupfrom, double durationtimesteps,
168 int mutexsize, const void *mutex, int scltoken );
169
170 int handleMutexrelease( void *fcbout, double time, unsigned int cpuid,
171 int enterstatetoken, int leavestatetoken,
172 int leavestatetokenisupfrom, double durationtimesteps,
173 int mutexsize, const void *mutex, int scltoken );
174
175 int handleOpenmpenter( void *fcbout, double time, unsigned int cpuid,
176 unsigned int constructtypetoken, unsigned int nametoken, int scltoken );
177
178 int handleOpenmpleave( void *fcbout, double time, unsigned int cpuid,
179 int scltoken );
180
181 int handlePattern( void *fcbout, double time, unsigned int cpuid,
182 int patorpatshptoken, double durationtimesteps,
183 int timesteparraydim, const double *timesteparray,
184 const int *patchindexarray );
185
186 int handleRecvmsg( void *fcbout, double time, unsigned int receiver,
187 unsigned int sender, int communicator, int msgtype,
188 int msglength, int scltoken );
189
190 int handleSamp( void *fcbout, double time, unsigned int cpuorcpugrpid,
191 int samplearraydim, const int *sampletokenarray,
192 const int *samplevaluetypearray,
193 const void *samplevaluearray );
194
195 int handleSendmsg( void *fcbout, double time, unsigned int sender,
196 unsigned int receiver, int communicator, int msgtype,
197 int msglength, int scltoken );
198
199 int handleSrcinfo_obsol( void *fcbout, double time, int activitytoken,
200 int statetoken, int scllineposition );
201
202 int handleUnrecognizable( void *fcbout, double lastvalidtime,
203 int numberofunrecognizablechars,
204 int typeofunrecognizablerecord,
205 const char *unrecognizablerecord );
206
207 int handleUpfrom( void *fcbout, double time, int statetoken,
208 unsigned int cpuid, int scltoken );
209
210 int handleUpto( void *fcbout, double time, int statetoken,
211 unsigned int cpuid, int scltoken ) ;
212
213
214 #endif /* VTF3TOOTF_HANDLER_H */