OpenMPI  0.1.1
vt_user.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_USER_H
14 #define _VT_USER_H
15 
16 #ifdef __VT_EXTERN_DECL
17 # error The macro __VT_EXTERN_DECL is used by VampirTrace internally and must not be defined by user code!
18 #endif /* __VT_EXTERN_DECL */
19 
20 #ifdef __cplusplus
21 # define __VT_EXTERN_DECL extern "C"
22 #else /* __cplusplus */
23 # define __VT_EXTERN_DECL extern
24 #endif /* __cplusplus */
25 
26 #ifdef __VT_NOINST_ATTR
27 # error The macro __VT_NOINST_ATTR is used by VampirTrace internally and must not be defined by user code!
28 #endif /* __VT_NOINST_ATTR */
29 
30 #ifdef __GNUC__
31 # define __VT_NOINST_ATTR __attribute__ ((no_instrument_function))
32 #else /* __GNUC__ */
33 # define __VT_NOINST_ATTR
34 #endif /* __GNUC__ */
35 
36 #include "vt_user_control.h"
37 #include "vt_user_comment.h"
38 #include "vt_user_count.h"
39 #include "vt_user_marker.h"
40 #include "vt_user_message.h"
41 #include "vt_user_region.h"
42 
43 #ifdef VTRACE_PTHREAD
44 # include "vt_wrap_pthread.h"
45 #endif /* VTRACE_PTHREAD */
46 
47 #include <stdlib.h>
48 
49 #endif /* _VT_USER_H */