OpenMPI  0.1.1
vt_otfhandler.h
1 /**
2  * VampirTrace
3  * http://www.tu-dresden.de/zih/vampirtrace
4  *
5  * Copyright (c) 2005-2012, ZIH, TU Dresden, Federal Republic of Germany
6  *
7  * Copyright (c) 1998-2005, Forschungszentrum Juelich, Juelich Supercomputing
8  * Centre, Federal Republic of Germany
9  *
10  * See the file COPYING in the package base directory for details
11  **/
12 
13 #ifndef _VT_OTFHANDLER_H_
14 #define _VT_OTFHANDLER_H_
15 
16 #include "otf.h"
17 
18 #include "vt_filterc.h"
19 
20 struct HandlerArgument {
21 
22  /* we use one filter per process -> enables parallelisation */
23  std::map<uint32_t /*process*/, Filter> p2f;
24 };
25 
26 
27 int handleDefTimerResolution( void* userData,
28  uint32_t streamid, uint64_t tickspersecond );
29 
30 int handleDefFunction( void* userData, uint32_t streamid,
31  uint32_t deftoken, const char* name, uint32_t group, uint32_t scltoken );
32 
33 int handleEnter( void* userData, uint64_t time, uint32_t function,
34  uint32_t process, uint32_t source );
35 
36 int handleLeave( void* userData, uint64_t time, uint32_t function,
37  uint32_t process, uint32_t source );
38 
39 int handleCollectiveOperation( void* firsthandlerarg, uint64_t time,
40  uint32_t process, uint32_t functionToken, uint32_t communicator,
41  uint32_t rootprocess, uint32_t sent, uint32_t received,
42  uint64_t duration, uint32_t scltoken );
43 
44 int handleRecvMsg( void* firsthandlerarg, uint64_t time,
45  uint32_t receiver, uint32_t sender, uint32_t communicator,
46  uint32_t msgtype, uint32_t msglength,
47  uint32_t scltoken );
48 
49 int handleSendMsg( void* firsthandlerarg, uint64_t time,
50  uint32_t sender, uint32_t receiver, uint32_t communicator,
51  uint32_t msgtype, uint32_t msglength, uint32_t scltoken );
52 
53 #endif /* _VT_OTFHANDLER_H_ */
Main include file for applications using OTF.
Definition: vt_filterc.h:104
VampirTrace http://www.tu-dresden.de/zih/vampirtrace.
Definition: read_from_buffer.c:6