This source file includes following definitions.
- mca_timer_base_register
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 #include "opal_config.h"
22
23 #include "opal/constants.h"
24 #include "opal/mca/timer/base/base.h"
25
26 bool mca_timer_base_monotonic = true;
27
28
29
30
31
32
33 #include "opal/mca/timer/base/static-components.h"
34
35 static int mca_timer_base_register(mca_base_register_flag_t flags)
36 {
37 (void) mca_base_var_register("opal", "timer", "require", "monotonic",
38 "Node-level monotonic timer required (default yes)",
39 MCA_BASE_VAR_TYPE_BOOL, NULL, 0, 0,
40 OPAL_INFO_LVL_5,
41 MCA_BASE_VAR_SCOPE_LOCAL,
42 &mca_timer_base_monotonic);
43
44 return OPAL_SUCCESS;
45 }
46
47
48
49
50
51 MCA_BASE_FRAMEWORK_DECLARE(opal, timer, "OPAL OS timer", mca_timer_base_register, NULL, NULL,
52 mca_timer_base_static_components, 0);