OpenMPI  0.1.1
vt_unify_hooks_raw.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_UNIFY_HOOKS_RAW_H_
14 #define _VT_UNIFY_HOOKS_RAW_H_
15 
16 #include "vt_unify_hooks_base.h"
17 
18 //
19 // HooksRawC class
20 //
21 class HooksRawC : public HooksBaseC
22 {
23 public:
24 
25  // constructor
26  HooksRawC();
27 
28  // destructor
29  ~HooksRawC();
30 
31  // is this hook enabled?
32  static bool isEnabled() { return true; }
33 
34 private:
35 
36  // vvvvvvvvvvvvvvvvvvvv HOOK METHODS vvvvvvvvvvvvvvvvvvvv
37 
38  // initialization/finalization hooks
39  //
40 
41  void initHook();
42  void finalizeHook( const bool & error );
43 
44  // phase hooks
45  //
46 
47  void phaseHook_GetUnifyControls_pre();
48  void phaseHook_GetUnifyControls_post();
49 
50  void phaseHook_UnifyDefinitions_pre();
51  void phaseHook_UnifyDefinitions_post();
52 
53  void phaseHook_UnifyMarkers_pre();
54  void phaseHook_UnifyMarkers_post();
55 
56  void phaseHook_UnifyStatistics_pre();
57  void phaseHook_UnifyStatistics_post();
58 
59  void phaseHook_UnifyEvents_pre();
60  void phaseHook_UnifyEvents_post();
61 
62  void phaseHook_WriteMasterControl_pre();
63  void phaseHook_WriteMasterControl_post();
64 
65  void phaseHook_CleanUp_pre();
66  void phaseHook_CleanUp_post();
67 
68  // record hooks
69  //
70 
71  // definition records
72 
73  void readRecHook_DefComment( HooksC::VaArgsT & args );
74  void writeRecHook_DefComment( HooksC::VaArgsT & args );
75 
76  void readRecHook_DefCreator( HooksC::VaArgsT & args );
77  void writeRecHook_DefCreator( HooksC::VaArgsT & args );
78 
79  void readRecHook_DefTimerResolution( HooksC::VaArgsT & args );
80  void writeRecHook_DefTimerResolution( HooksC::VaArgsT & args );
81 
82  void readRecHook_DefTimeRange( HooksC::VaArgsT & args );
83  void writeRecHook_DefTimeRange( HooksC::VaArgsT & args );
84 
85  void readRecHook_DefProcessGroup( HooksC::VaArgsT & args );
86  void writeRecHook_DefProcessGroup( HooksC::VaArgsT & args );
87 
88  void readRecHook_DefProcessGroupAttributes( HooksC::VaArgsT & args );
89  void writeRecHook_DefProcessGroupAttributes( HooksC::VaArgsT & args );
90 
91  void readRecHook_DefProcess( HooksC::VaArgsT & args );
92  void writeRecHook_DefProcess( HooksC::VaArgsT & args );
93 
94  void readRecHook_DefSclFile( HooksC::VaArgsT & args );
95  void writeRecHook_DefSclFile( HooksC::VaArgsT & args );
96 
97  void readRecHook_DefScl( HooksC::VaArgsT & args );
98  void writeRecHook_DefScl( HooksC::VaArgsT & args );
99 
100  void readRecHook_DefFileGroup( HooksC::VaArgsT & args );
101  void writeRecHook_DefFileGroup( HooksC::VaArgsT & args );
102 
103  void readRecHook_DefFile( HooksC::VaArgsT & args );
104  void writeRecHook_DefFile( HooksC::VaArgsT & args );
105 
106  void readRecHook_DefFunctionGroup( HooksC::VaArgsT & args );
107  void writeRecHook_DefFunctionGroup( HooksC::VaArgsT & args );
108 
109  void readRecHook_DefFunction( HooksC::VaArgsT & args );
110  void writeRecHook_DefFunction( HooksC::VaArgsT & args );
111 
112  void readRecHook_DefCollOp( HooksC::VaArgsT & args );
113  void writeRecHook_DefCollOp( HooksC::VaArgsT & args );
114 
115  void readRecHook_DefCounterGroup( HooksC::VaArgsT & args );
116  void writeRecHook_DefCounterGroup( HooksC::VaArgsT & args );
117 
118  void readRecHook_DefCounter( HooksC::VaArgsT & args );
119  void writeRecHook_DefCounter( HooksC::VaArgsT & args );
120 
121  void readRecHook_DefCounterAssignments( HooksC::VaArgsT & args );
122  void writeRecHook_DefCounterAssignments( HooksC::VaArgsT & args );
123 
124  void readRecHook_DefKeyValue( HooksC::VaArgsT & args );
125  void writeRecHook_DefKeyValue( HooksC::VaArgsT & args );
126 
127  // summary records
128 
129  void readRecHook_FunctionSummary( HooksC::VaArgsT & args );
130  void writeRecHook_FunctionSummary( HooksC::VaArgsT & args );
131 
132  void readRecHook_MessageSummary( HooksC::VaArgsT & args );
133  void writeRecHook_MessageSummary( HooksC::VaArgsT & args );
134 
135  void readRecHook_CollOpSummary( HooksC::VaArgsT & args );
136  void writeRecHook_CollOpSummary( HooksC::VaArgsT & args );
137 
138  void readRecHook_FileOpSummary( HooksC::VaArgsT & args );
139  void writeRecHook_FileOpSummary( HooksC::VaArgsT & args );
140 
141  // marker records
142 
143  void readRecHook_DefMarker( HooksC::VaArgsT & args );
144  void writeRecHook_DefMarker( HooksC::VaArgsT & args );
145 
146  void readRecHook_MarkerSpot( HooksC::VaArgsT & args );
147  void writeRecHook_MarkerSpot( HooksC::VaArgsT & args );
148 
149  // event records
150 
151  void readRecHook_Enter( HooksC::VaArgsT & args );
152  void writeRecHook_Enter( HooksC::VaArgsT & args );
153 
154  void readRecHook_Leave( HooksC::VaArgsT & args );
155  void writeRecHook_Leave( HooksC::VaArgsT & args );
156 
157  void readRecHook_BeginFileOp( HooksC::VaArgsT & args );
158  void writeRecHook_BeginFileOp( HooksC::VaArgsT & args );
159 
160  void readRecHook_EndFileOp( HooksC::VaArgsT & args );
161  void writeRecHook_EndFileOp( HooksC::VaArgsT & args );
162 
163  void readRecHook_SendMsg( HooksC::VaArgsT & args );
164  void writeRecHook_SendMsg( HooksC::VaArgsT & args );
165 
166  void readRecHook_RecvMsg( HooksC::VaArgsT & args );
167  void writeRecHook_RecvMsg( HooksC::VaArgsT & args );
168 
169  void readRecHook_BeginCollOp( HooksC::VaArgsT & args );
170  void writeRecHook_BeginCollOp( HooksC::VaArgsT & args );
171 
172  void readRecHook_EndCollOp( HooksC::VaArgsT & args );
173  void writeRecHook_EndCollOp( HooksC::VaArgsT & args );
174 
175  void readRecHook_RMAPut( HooksC::VaArgsT & args );
176  void writeRecHook_RMAPut( HooksC::VaArgsT & args );
177 
178  void readRecHook_RMAPutRemoteEnd( HooksC::VaArgsT & args );
179  void writeRecHook_RMAPutRemoteEnd( HooksC::VaArgsT & args );
180 
181  void readRecHook_RMAGet( HooksC::VaArgsT & args );
182  void writeRecHook_RMAGet( HooksC::VaArgsT & args );
183 
184  void readRecHook_RMAEnd( HooksC::VaArgsT & args );
185  void writeRecHook_RMAEnd( HooksC::VaArgsT & args );
186 
187  void readRecHook_Counter( HooksC::VaArgsT & args );
188  void writeRecHook_Counter( HooksC::VaArgsT & args );
189 
190  void readRecHook_EventComment( HooksC::VaArgsT & args );
191  void writeRecHook_EventComment( HooksC::VaArgsT & args );
192 
193  // generic hook
194  void genericHook( const uint32_t & id, HooksC::VaArgsT & args );
195 
196  // ^^^^^^^^^^^^^^^^^^^^ HOOK METHODS ^^^^^^^^^^^^^^^^^^^^
197 
198 };
199 
200 #endif // _VT_UNIFY_HOOKS_RAW_H_
VampirTrace http://www.tu-dresden.de/zih/vampirtrace.
Definition: vt_unify_hooks_raw.h:21
VampirTrace http://www.tu-dresden.de/zih/vampirtrace.
Definition: vt_unify_hooks_base.h:23
HooksRawC()
VampirTrace http://www.tu-dresden.de/zih/vampirtrace.
Definition: vt_unify_hooks_raw.cc:26