21 #ifndef OPAL_PAFFINITY_BASE_H
22 #define OPAL_PAFFINITY_BASE_H
24 #include "opal_config.h"
42 OPAL_DECLSPEC
int opal_paffinity_base_register_params(
void);
63 OPAL_DECLSPEC
int opal_paffinity_base_open(
void);
96 OPAL_DECLSPEC
int opal_paffinity_base_select(
void);
144 OPAL_DECLSPEC
int opal_paffinity_base_close(
void);
156 OPAL_DECLSPEC
int opal_paffinity_base_get_map_to_processor_id(
int physical_socket,
int physical_core,
int *physical_processor_id);
168 OPAL_DECLSPEC
int opal_paffinity_base_get_map_to_socket_core(
int physical_processor_id,
int *physical_socket,
int *physical_core);
178 OPAL_DECLSPEC
int opal_paffinity_base_get_processor_info(
int *num_logical_processors);
188 OPAL_DECLSPEC
int opal_paffinity_base_get_socket_info(
int *num_logical_sockets);
199 OPAL_DECLSPEC
int opal_paffinity_base_get_core_info(
int physical_socket,
int *num_logical_cores);
210 OPAL_DECLSPEC
int opal_paffinity_base_get_physical_processor_id(
int logical_processor_id,
int *physical_processor_id);
221 OPAL_DECLSPEC
int opal_paffinity_base_get_physical_socket_id(
int logical_socket_id,
int *physical_socket_id);
233 OPAL_DECLSPEC
int opal_paffinity_base_get_physical_core_id(
int physical_socket_id,
int logical_core_id,
int *physical_core_id);
245 OPAL_DECLSPEC
extern bool opal_paffinity_base_selected;
251 *opal_paffinity_base_component;
256 *opal_paffinity_base_module;
261 OPAL_DECLSPEC
extern bool opal_paffinity_base_components_opened_valid;
267 OPAL_DECLSPEC
extern opal_list_t opal_paffinity_base_components_opened;
271 OPAL_DECLSPEC
int opal_paffinity_base_slot_list_set(
long rank,
char *slot_str,
277 OPAL_DECLSPEC
int opal_paffinity_base_cset2str(
char *str,
int len,
283 OPAL_DECLSPEC
int opal_paffinity_base_cset2mapstr(
char *str,
int len,
289 OPAL_DECLSPEC
extern int opal_paffinity_base_output;
294 OPAL_DECLSPEC
extern bool opal_paffinity_alone;
296 OPAL_DECLSPEC
extern char *opal_paffinity_base_slot_list;
301 OPAL_DECLSPEC
extern bool opal_paffinity_base_bound;
304 OPAL_DECLSPEC
extern char *opal_paffinity_base_applied_binding;
Public processor bitmask type.
Definition: paffinity.h:183
paffinity (processor affinity) framework component interface definitions.
Definition: opal_list.h:147
Structure for paffinity modules.
Definition: paffinity.h:367
Structure for paffinity components.
Definition: paffinity.h:351