1
2
3
4
5
6
7
8
9
10
11
12
13 #ifndef ORTE_RTC_HWLOC_H
14 #define ORTE_RTC_HWLOC_H
15
16 #include "orte_config.h"
17
18 #include "orte/mca/rtc/rtc.h"
19
20 BEGIN_C_DECLS
21
22 typedef enum {
23 VM_HOLE_NONE = -1,
24 VM_HOLE_BEGIN = 0,
25 VM_HOLE_AFTER_HEAP = 1,
26 VM_HOLE_BEFORE_STACK = 2,
27 VM_HOLE_BIGGEST = 3,
28 VM_HOLE_IN_LIBS = 4,
29 VM_HOLE_CUSTOM = 5,
30 } orte_rtc_hwloc_vm_hole_kind_t;
31
32 typedef enum {
33 VM_MAP_FILE = 0,
34 VM_MAP_ANONYMOUS = 1,
35 VM_MAP_HEAP = 2,
36 VM_MAP_STACK = 3,
37 VM_MAP_OTHER = 4
38 } orte_rtc_hwloc_vm_map_kind_t;
39
40 typedef struct {
41 orte_rtc_base_component_t super;
42 orte_rtc_hwloc_vm_hole_kind_t kind;
43 } orte_rtc_hwloc_component_t;
44
45 ORTE_MODULE_DECLSPEC extern orte_rtc_hwloc_component_t mca_rtc_hwloc_component;
46
47 extern orte_rtc_base_module_t orte_rtc_hwloc_module;
48
49
50 END_C_DECLS
51
52 #endif