OpenMPI 0.1.1

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

- File List
- Globals

vt_java.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_JAVA_H
14 #define _VT_JAVA_H
15
16 #ifdef __cplusplus
17 # define EXTERN extern "C"
18 #else
19 # define EXTERN extern
20 #endif
21
22 #include "vt_jvmti.h"
23
24 typedef struct
25 {
26 jvmtiEnv* jvmti;
27 jint jvmti_version;
28 jrawMonitorID lock;
29 jboolean vm_is_started;
30 jboolean vm_is_initialized;
31 jboolean vm_is_dead;
32
33 } VTJVMAgent;
34
35 EXTERN void vt_java_get_thread_name(jvmtiEnv* jvmti, jthread thread,
36 char* tname, int maxlen);
37
38 EXTERN void vt_java_check_error(jvmtiEnv* jvmti, jvmtiError error,
39 const char* str);
40
41 EXTERN VTJVMAgent* vt_jvmti_agent;
42
43 #endif /* _VT_JAVA_H */
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
VTJVMAgent
Definition: vt_java.h:24