OpenMPI  0.1.1
handler.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 HANDLER_H
12 #define HANDLER_H
13 
14 #include "opari.h"
15 #include "ompragma.h"
16 
17 typedef void (* phandler_t)(OMPragma*, ostream&);
18 
19 void init_handler(const char* infile, const char* rcfile,
20  Language l, bool genLineStmts);
21 
22 void finalize_handler(const char* rcdir,
23  const char* incfile, const char* tabfile);
24 
25 void generateTableFile(const char* rcdir,
26  const char* rcfile, const char* tabfile);
27 
28 phandler_t find_handler(const string& pragma);
29 
30 void extra_handler(int lineno, ostream& os);
31 
32 bool set_disabled(const string& constructs);
33 
34 bool instrument_locks();
35 
36 bool genLineStmts();
37 
38 void print_regstack_top();
39 
40 extern bool do_transform;
41 
42 #endif
Definition: ompragma.h:19