OpenMPI  0.1.1
Handler.h
1 /*
2  This is part of the OTF library. Copyright by ZIH, TU Dresden 2005-2012.
3  Authors: Andreas Knuepfer, Denis Huenich, Johannes Spazier
4 */
5 
6 #include <map>
7 #include <otf.h>
8 
9 using namespace std;
10 
11 #include "otfshrink.h"
12 
13 /* required as FirstHandlerArg later on */
14 typedef struct {
15 
16  OTF_Writer *writer;
17 
18  /* currntly, 'writer' is the only member but I want to keep this
19  struct to transport everything which is now in global variables */
20 
21 } firstarg;
22 
23 
24 int handleDefProcess (void *userData, uint32_t stream, uint32_t process,
25  const char *name, uint32_t parent, OTF_KeyValueList* list);
26 
27 int handleDefProcessGroup (void *userData, uint32_t stream, uint32_t procGroup,
28  const char *name, uint32_t numberOfProcs, const uint32_t *procs,
29  OTF_KeyValueList* list);
30 
31 int handleDefProcessSubstitutes (void* userData, uint32_t stream,
32  uint32_t representative, uint32_t numberOfProcs,
33  const uint32_t* procs, OTF_KeyValueList* list);
Main include file for applications using OTF.
Definition: Handler.h:14
struct OTF_KeyValueList_struct OTF_KeyValueList
Object type which holds a key-value list.
Definition: OTF_KeyValue.h:242
Holds the data objects needed for global trace creation.
Definition: OTF_Writer.c:21