OpenMPI 0.1.1

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

- File List
- Globals

vt_rusage.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_RUSAGE_H
14 #define _VT_RUSAGE_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 struct vt_rusage;
25
26 EXTERN uint32_t vt_rusage_open(void);
27 EXTERN void vt_rusage_close(void);
28
29 EXTERN struct vt_rusage* vt_rusage_create(void);
30 EXTERN void vt_rusage_free(struct vt_rusage* rusage);
31
32 EXTERN void vt_rusage_init(void);
33
34 EXTERN void vt_rusage_read(struct vt_rusage* rusage,
35 uint64_t* values, uint32_t* changed);
36
37 EXTERN uint32_t vt_rusage_num(void);
38
39 /* vector of counter ids */
40 EXTERN uint32_t* vt_rusage_cidv;
41
42 /* read interval */
43 EXTERN uint64_t vt_rusage_intv;
44
45 #endif /* _VT_RUSAGE_H */
vt_rusage
Definition: vt_rusage.c:89