OpenMPI  0.1.1
vt_user_comment.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 # error "vt_user_comment.h should only be included from vt_user.h"
15 #endif /* _VT_USER_H */
16 
17 #ifndef _VT_USER_COMMENT_H
18 #define _VT_USER_COMMENT_H
19 
20 #if (defined(VTRACE)) && !(defined(VTRACE_NO_COMMENT))
21 
22  __VT_EXTERN_DECL void VT_User_comment_def__(const char* comment);
23  __VT_EXTERN_DECL void VT_User_comment__(const char* comment);
24 
25 # define VT_COMMENT_DEF(c) VT_User_comment_def__((c))
26 # define VT_COMMENT(c) VT_User_comment__((c))
27 
28 #else /* VTRACE && !VTRACE_NO_COMMENT */
29 
30 # define VT_COMMENT_DEF(c)
31 # define VT_COMMENT(c)
32 
33 #endif /* VTRACE && !VTRACE_NO_COMMENT */
34 
35 #endif /* _VT_USER_COMMENT_H */