OpenMPI 0.1.1

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

- File List
- Globals

vt_pform.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_PFORM_H
14 #define _VT_PFORM_H
15
16 #ifdef __cplusplus
17 # define EXTERN extern "C"
18 #else
19 # define EXTERN extern
20 #endif
21
22 #include "vt_inttypes.h"
23
24 /* platform specific initialization */
25 EXTERN void vt_pform_init(void);
26
27 /* directory of global file system */
28 EXTERN char* vt_pform_gdir(void);
29
30 /* directory of local file system */
31 EXTERN char* vt_pform_ldir(void);
32
33 /* full path of executable */
34 EXTERN char* vt_pform_exec(void);
35
36 /* clock resolution */
37 EXTERN uint64_t vt_pform_clockres(void);
38
39 /* local or global wall-clock time */
40 EXTERN uint64_t vt_pform_wtime(void);
41
42 /* unique numeric SMP-node identifier */
43 EXTERN long vt_pform_node_id(void);
44
45 /* unique string SMP-node identifier */
46 EXTERN char* vt_pform_node_name(void);
47
48 /* number of CPUs */
49 EXTERN int vt_pform_num_cpus(void);
50
51 #endif
52
53
54
55
56