OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

vt_unify_events_stats.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_EVENTS_STATS_H_
14 #define _VT_UNIFY_EVENTS_STATS_H_
15
16 #include "config.h"
17
18 //
19 // EventsAndStatsC class
20 //
21 class EventsAndStatsC
22 {
23 public:
24
25 // unify either events or statistics
26 typedef enum { SCOPE_EVENTS, SCOPE_STATS } ScopeTypeT;
27
28 // constructor
29 EventsAndStatsC( const ScopeTypeT & scope );
30
31 // destructor
32 ~EventsAndStatsC();
33
34 // unify events/statistics
35 bool run();
36
37 // rename temporary output files
38 bool cleanUp();
39
40 private:
41
42 // rewrite events/statistics
43 bool rewrite();
44
45 // scope to process by this class (events or statistics)
46 ScopeTypeT m_scope;
47
48 };
49
50 // instances of class EventsAndStatsC
51 //
52 extern EventsAndStatsC * theEvents;
53 extern EventsAndStatsC * theStatistics;
54
55 #endif // _VT_UNIFY_EVENTS_STATS_H_
EventsAndStatsC
VampirTrace http://www.tu-dresden.de/zih/vampirtrace.
Definition: vt_unify_events_stats.h:21