OpenMPI
0.1.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
ompregion.h
1
/****************************************************************************
2
** SCALASCA http://www.scalasca.org/ **
3
** KOJAK http://www.fz-juelich.de/jsc/kojak/ **
4
*****************************************************************************
5
** Copyright (c) 1998-2008 **
6
** Forschungszentrum Juelich, Juelich Supercomputing Centre **
7
** **
8
** See the file COPYING in the package base directory for details **
9
****************************************************************************/
10
11
#ifndef OMPREGION_H
12
#define OMPREGION_H
13
14
#include <iostream>
15
using
std::ostream;
16
#include <set>
17
using
std::set;
18
#include <string>
19
using
std::string;
20
21
#ifdef OPARI_VT
22
#include "opari.h"
23
#endif // OPARI_VT
24
25
class
OMPRegion
{
26
public
:
27
OMPRegion
(
const
string
& n,
const
string
& file,
int
i,
int
bfl,
int
bll,
28
bool
outr =
false
);
29
30
static
void
generate_header(ostream& os);
31
32
#ifdef OPARI_VT
33
void
generate_descr(ostream& os, Language lang);
34
#else // OPARI_VT
35
void
generate_descr(ostream& os);
36
#endif // OPARI_VT
37
38
void
finish();
39
40
string
name;
41
string
file_name;
42
string
sub_name;
43
int
id;
44
int
begin_first_line;
45
int
begin_last_line;
46
int
end_first_line;
47
int
end_last_line;
48
int
num_sections;
49
bool
noWaitAdded;
50
bool
outer_reg;
51
set<int> descrs;
52
OMPRegion
* enclosing_reg;
53
54
static
OMPRegion
* outer_ptr;
55
};
56
57
#endif
OMPRegion
Definition:
ompregion.h:25
ompi
contrib
vt
vt
tools
opari
tool
ompregion.h
Generated on Wed Dec 24 2014 12:05:17 for OpenMPI by
1.8.8