dlb_types.h¶
- Date:
Mon Jul 15 2024
NAME¶
dlb_types.h
SYNOPSIS¶
Typedefs¶
typedef struct dlb_barrier_t dlb_barrier_t
typedef void * dlb_handler_t
typedef void * dlb_cpu_set_t
typedef const void * const_dlb_cpu_set_t
typedef void(* dlb_callback_t) (void)
typedef void(* dlb_callback_set_num_threads_t) (int num_threads,
void *arg)
typedef void(* dlb_callback_set_active_mask_t)
(const_dlb_cpu_set_t mask, void *arg)
typedef void(* dlb_callback_set_process_mask_t)
(const_dlb_cpu_set_t mask, void *arg)
typedef void(* dlb_callback_add_active_mask_t)
(const_dlb_cpu_set_t mask, void *arg)
typedef void(* dlb_callback_add_process_mask_t)
(const_dlb_cpu_set_t mask, void *arg)
typedef void(* dlb_callback_enable_cpu_t) (int cpuid, void *arg)
typedef void(* dlb_callback_disable_cpu_t) (int cpuid, void
*arg)
Enumerations¶
enum { DLB_DELETE_REQUESTS = 0 }
enum { DLB_MAX_CPUS = 0x7fff }
enum dlb_drom_flags_t { DLB_STEAL_CPUS = 1 << 0,
DLB_RETURN_STOLEN = 1 << 1, DLB_SYNC_QUERY = 1 << 2,
DLB_SYNC_NOW = 1 << 3, DLB_NO_SYNC = 1 << 4,
DLB_FREE_CPUS_SLURM = 1 << 5 }
enum dlb_printshmem_flags_t { DLB_COLOR_AUTO = 1,
DLB_COLOR_ALWAYS = 2 }
enum dlb_barrier_flags_t { DLB_BARRIER_LEWI_OFF = 0,
DLB_BARRIER_LEWI_ON = 1 << 0, DLB_BARRIER_LEWI_RUNTIME = 1 <<
1 }
enum dlb_callbacks_t { dlb_callback_set_num_threads = 1,
dlb_callback_set_active_mask = 2,
dlb_callback_set_process_mask = 3,
dlb_callback_add_active_mask = 4,
dlb_callback_add_process_mask = 5, dlb_callback_enable_cpu =
6, dlb_callback_disable_cpu = 7 }
Typedef Documentation¶
typedef struct dlb_barrier_t dlb_barrier_t¶
typedef void* dlb_handler_t¶
typedef void* dlb_cpu_set_t¶
typedef const void* const_dlb_cpu_set_t¶
typedef void(* dlb_callback_t) (void)¶
typedef void(* dlb_callback_set_num_threads_t) (int num_threads, void *arg)¶
typedef void(* dlb_callback_set_active_mask_t) (const_dlb_cpu_set_t mask, void *arg)¶
typedef void(* dlb_callback_set_process_mask_t) (const_dlb_cpu_set_t mask, void *arg)¶
typedef void(* dlb_callback_add_active_mask_t) (const_dlb_cpu_set_t mask, void *arg)¶
typedef void(* dlb_callback_add_process_mask_t) (const_dlb_cpu_set_t mask, void *arg)¶
typedef void(* dlb_callback_enable_cpu_t) (int cpuid, void *arg)¶
typedef void(* dlb_callback_disable_cpu_t) (int cpuid, void *arg)¶
Enumeration Type Documentation¶
anonymous enum¶
Enumerator
DLB_DELETE_REQUESTS
anonymous enum¶
Enumerator
DLB_MAX_CPUS
enum dlb_drom_flags_t¶
Enumerator
DLB_STEAL_CPUS
DLB_RETURN_STOLEN
DLB_SYNC_QUERY
DLB_SYNC_NOW
DLB_NO_SYNC
DLB_FREE_CPUS_SLURM
enum dlb_printshmem_flags_t¶
Enumerator
DLB_COLOR_AUTO
DLB_COLOR_ALWAYS
enum dlb_barrier_flags_t¶
Enumerator
DLB_BARRIER_LEWI_OFF
DLB_BARRIER_LEWI_ON
DLB_BARRIER_LEWI_RUNTIME
enum dlb_callbacks_t¶
Enumerator
dlb_callback_set_num_threads
dlb_callback_set_active_mask
dlb_callback_set_process_mask
dlb_callback_add_active_mask
dlb_callback_add_process_mask
dlb_callback_enable_cpu
dlb_callback_disable_cpu