LLVM OpenMP 20.0.0git
Classes | Macros | Typedefs | Functions | Variables
kmp_settings.cpp File Reference
#include "kmp.h"
#include "kmp_affinity.h"
#include "kmp_atomic.h"
#include "kmp_environment.h"
#include "kmp_i18n.h"
#include "kmp_io.h"
#include "kmp_itt.h"
#include "kmp_lock.h"
#include "kmp_settings.h"
#include "kmp_str.h"
#include "kmp_wrapper_getpid.h"
#include <ctype.h>

Go to the source code of this file.

Classes

struct  __kmp_setting
 
struct  __kmp_stg_ss_data
 
struct  __kmp_stg_wp_data
 
struct  __kmp_stg_fr_data
 
struct  kmp_trimmed_str_t
 

Macros

#define IS_POWER_OF_TWO(n)   (((n) & ((n)-1)) == 0)
 
#define GET_NEXT(sentinel)
 
#define SKIP_PAIR(key)
 
#define SET_KEY()
 
#define KMP_STORE_LOCK_SEQ(a)
 
#define MAX_T_LEVEL   KMP_HW_LAST
 
#define MAX_STR_LEN   512
 

Typedefs

typedef struct __kmp_setting kmp_setting_t
 
typedef struct __kmp_stg_ss_data kmp_stg_ss_data_t
 
typedef struct __kmp_stg_wp_data kmp_stg_wp_data_t
 
typedef struct __kmp_stg_fr_data kmp_stg_fr_data_t
 
typedef void(* kmp_stg_parse_func_t) (char const *name, char const *value, void *data)
 
typedef void(* kmp_stg_print_func_t) (kmp_str_buf_t *buffer, char const *name, void *data)
 

Functions

static int __kmp_env_toPrint (char const *name, int flag)
 
static int __kmp_match_with_sentinel (char const *a, char const *b, size_t len, char sentinel)
 
static int __kmp_match_str (char const *token, char const *buf, const char **end)
 
static int __kmp_strcasecmp_with_sentinel (char const *a, char const *b, char sentinel)
 
static int __kmp_stg_check_rivals (char const *name, char const *value, kmp_setting_t **rivals)
 
static void __kmp_stg_parse_bool (char const *name, char const *value, int *out)
 
void __kmp_check_stksize (size_t *val)
 
static void __kmp_stg_parse_size (char const *name, char const *value, size_t size_min, size_t size_max, int *is_specified, size_t *out, size_t factor)
 
static void __kmp_stg_parse_str (char const *name, char const *value, char **out)
 
static void __kmp_stg_parse_int (char const *name, char const *value, int min, int max, int *out)
 
int __kmp_initial_threads_capacity (int req_nproc)
 
int __kmp_default_tp_capacity (int req_nproc, int max_nth, int all_threads_specified)
 
static void __kmp_stg_print_bool (kmp_str_buf_t *buffer, char const *name, int value)
 
static void __kmp_stg_print_int (kmp_str_buf_t *buffer, char const *name, int value)
 
static void __kmp_stg_print_uint64 (kmp_str_buf_t *buffer, char const *name, kmp_uint64 value)
 
static void __kmp_stg_print_str (kmp_str_buf_t *buffer, char const *name, char const *value)
 
static void __kmp_stg_print_size (kmp_str_buf_t *buffer, char const *name, size_t value)
 
static void __kmp_stg_parse_device_thread_limit (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_device_thread_limit (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_thread_limit (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_thread_limit (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_nteams (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_nteams (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_teams_th_limit (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_teams_th_limit (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_teams_thread_limit (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_teams_thread_limit (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_use_yield (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_use_yield (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_blocktime (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_blocktime (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_duplicate_lib_ok (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_duplicate_lib_ok (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_wait_policy (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_wait_policy (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_settings (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_settings (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_stackpad (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_stackpad (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_stackoffset (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_stackoffset (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_stacksize (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_stacksize (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_version (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_version (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_warnings (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_warnings (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_nesting_mode (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_nesting_mode (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_nested (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_nested (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_parse_nested_num_threads (const char *var, const char *env, kmp_nested_nthreads_t *nth_array)
 
static void __kmp_stg_parse_num_threads (char const *name, char const *value, void *data)
 
static void __kmp_stg_parse_num_hidden_helper_threads (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_num_hidden_helper_threads (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_use_hidden_helper (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_use_hidden_helper (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_print_num_threads (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_tasking (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_tasking (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_task_stealing (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_task_stealing (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_max_active_levels (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_max_active_levels (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_default_device (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_default_device (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_target_offload (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_target_offload (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_max_task_priority (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_max_task_priority (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_taskloop_min_tasks (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_taskloop_min_tasks (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_disp_buffers (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_disp_buffers (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_align_alloc (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_align_alloc (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_barrier_branch_bit (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_barrier_branch_bit (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_barrier_pattern (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_barrier_pattern (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_abort_delay (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_abort_delay (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_cpuinfo_file (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_cpuinfo_file (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_force_reduction (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_force_reduction (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_storage_map (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_storage_map (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_all_threadprivate (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_all_threadprivate (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_foreign_threads_threadprivate (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_foreign_threads_threadprivate (kmp_str_buf_t *buffer, char const *name, void *data)
 
static const char__kmp_hw_get_core_type_keyword (kmp_hw_core_type_t type)
 
static void __kmp_stg_parse_proc_bind (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_proc_bind (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_display_affinity (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_display_affinity (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_affinity_format (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_affinity_format (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_allocator (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_allocator (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_omp_dynamic (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_omp_dynamic (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_kmp_dynamic_mode (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_kmp_dynamic_mode (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_init_at_fork (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_init_at_fork (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_schedule (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_schedule (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_omp_schedule_restore ()
 
static const char__kmp_parse_single_omp_schedule (const char *name, const char *value, bool parse_hier=false)
 
static void __kmp_stg_parse_omp_schedule (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_omp_schedule (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_kmp_force_monotonic (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_kmp_force_monotonic (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_atomic_mode (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_atomic_mode (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_consistency_check (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_consistency_check (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_malloc_pool_incr (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_malloc_pool_incr (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_gtid_mode (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_gtid_mode (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_lock_block (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_lock_block (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_lock_kind (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_lock_kind (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_spin_backoff_params (const char *name, const char *value, void *data)
 
static void __kmp_stg_print_spin_backoff_params (kmp_str_buf_t *buffer, char const *name, void *data)
 
static kmp_hw_t __kmp_hw_subset_break_tie (const kmp_hw_t *possible, size_t num_possible)
 
static kmp_hw_t __kmp_stg_parse_hw_subset_name (char const *token)
 
static void __kmp_stg_parse_hw_subset (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_hw_subset (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_task_throttling (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_task_throttling (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_omp_display_env (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_omp_display_env (kmp_str_buf_t *buffer, char const *name, void *data)
 
static void __kmp_stg_parse_omp_cancellation (char const *name, char const *value, void *data)
 
static void __kmp_stg_print_omp_cancellation (kmp_str_buf_t *buffer, char const *name, void *data)
 
static kmp_setting_t__kmp_stg_find (char const *name)
 
static int __kmp_stg_cmp (void const *_a, void const *_b)
 
static void __kmp_stg_init (void)
 
static void __kmp_stg_parse (char const *name, char const *value)
 
static void __kmp_aux_env_initialize (kmp_env_blk_t *block)
 
void __kmp_env_initialize (char const *string)
 
void __kmp_env_print ()
 
void __kmp_env_print_2 ()
 
void __kmp_display_env_impl (int display_env, int display_env_verbose)
 

Variables

bool __kmp_env_format = 0
 
static char const * blocktime_str = NULL
 
static kmp_setting_t __kmp_stg_table []
 
static int const __kmp_stg_count
 

Macro Definition Documentation

◆ GET_NEXT

#define GET_NEXT (   sentinel)
Value:
{ \
SKIP_WS(next); \
if (*next == sentinel) \
next++; \
SKIP_WS(next); \
scan = next; \
}

◆ IS_POWER_OF_TWO

#define IS_POWER_OF_TWO (   n)    (((n) & ((n)-1)) == 0)

◆ KMP_STORE_LOCK_SEQ

#define KMP_STORE_LOCK_SEQ (   a)

Definition at line 4686 of file kmp_settings.cpp.

◆ MAX_STR_LEN

#define MAX_STR_LEN   512

Definition at line 5134 of file kmp_settings.cpp.

◆ MAX_T_LEVEL

#define MAX_T_LEVEL   KMP_HW_LAST

Definition at line 5133 of file kmp_settings.cpp.

◆ SET_KEY

#define SET_KEY ( )
Value:
{ \
char const str_delimiter[] = {'=', 0}; \
key = __kmp_str_token(CCAST(char *, start), str_delimiter, \
CCAST(char **, &next)); \
scan = next; \
}
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_string_handle unsigned long long ITT_FORMAT lu const __itt_domain __itt_id __itt_string_handle * key
#define CCAST(type, var)
Definition: kmp_os.h:290
char * __kmp_str_token(char *str, char const *delim, char **buf)
Definition: kmp_str.cpp:595

◆ SKIP_PAIR

#define SKIP_PAIR (   key)
Value:
{ \
char const str_delimiter[] = {',', 0}; \
char *value = __kmp_str_token(CCAST(char *, scan), str_delimiter, \
CCAST(char **, &next)); \
KMP_WARNING(StgInvalidValue, key, value); \
ntraits--; \
SKIP_WS(next); \
scan = next; \
}
void const char const char int ITT_FORMAT __itt_group_sync x void const char ITT_FORMAT __itt_group_sync s void ITT_FORMAT __itt_group_sync p void ITT_FORMAT p void ITT_FORMAT p no args __itt_suppress_mode_t unsigned int void size_t ITT_FORMAT d void ITT_FORMAT p void ITT_FORMAT p __itt_model_site __itt_model_site_instance ITT_FORMAT p __itt_model_task __itt_model_task_instance ITT_FORMAT p void ITT_FORMAT p void ITT_FORMAT p void size_t ITT_FORMAT d void ITT_FORMAT p const wchar_t ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s const char ITT_FORMAT s no args void ITT_FORMAT p size_t ITT_FORMAT d no args const wchar_t const wchar_t ITT_FORMAT s __itt_heap_function void size_t int ITT_FORMAT d __itt_heap_function void ITT_FORMAT p __itt_heap_function void void size_t int ITT_FORMAT d no args no args unsigned int ITT_FORMAT u const __itt_domain __itt_id ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain __itt_id ITT_FORMAT p const __itt_domain __itt_id __itt_timestamp __itt_timestamp ITT_FORMAT lu const __itt_domain __itt_id __itt_id __itt_string_handle ITT_FORMAT p const __itt_domain ITT_FORMAT p const __itt_domain __itt_string_handle unsigned long long value

Typedef Documentation

◆ kmp_setting_t

typedef struct __kmp_setting kmp_setting_t

Definition at line 180 of file kmp_settings.cpp.

◆ kmp_stg_fr_data_t

Definition at line 183 of file kmp_settings.cpp.

◆ kmp_stg_parse_func_t

typedef void(* kmp_stg_parse_func_t) (char const *name, char const *value, void *data)

Definition at line 185 of file kmp_settings.cpp.

◆ kmp_stg_print_func_t

typedef void(* kmp_stg_print_func_t) (kmp_str_buf_t *buffer, char const *name, void *data)

Definition at line 187 of file kmp_settings.cpp.

◆ kmp_stg_ss_data_t

Definition at line 181 of file kmp_settings.cpp.

◆ kmp_stg_wp_data_t

Definition at line 182 of file kmp_settings.cpp.

Function Documentation

◆ __kmp_aux_env_initialize()

static void __kmp_aux_env_initialize ( kmp_env_blk_t block)
static

◆ __kmp_check_stksize()

void __kmp_check_stksize ( size_t *  val)

Definition at line 256 of file kmp_settings.cpp.

References __kmp_sys_min_stksize, KMP_DEFAULT_STKSIZE, KMP_MAX_STKSIZE, and val.

Referenced by __kmp_runtime_initialize().

◆ __kmp_default_tp_capacity()

int __kmp_default_tp_capacity ( int  req_nproc,
int  max_nth,
int  all_threads_specified 
)

Definition at line 499 of file kmp_settings.cpp.

References __kmp_max_nth, and __kmp_xproc.

Referenced by __kmp_do_serial_initialize().

◆ __kmp_display_env_impl()

void __kmp_display_env_impl ( int  display_env,
int  display_env_verbose 
)

◆ __kmp_env_initialize()

void __kmp_env_initialize ( char const *  string)

◆ __kmp_env_print()

void __kmp_env_print ( )

◆ __kmp_env_print_2()

void __kmp_env_print_2 ( )

◆ __kmp_env_toPrint()

static int __kmp_env_toPrint ( char const *  name,
int  flag 
)
static

Definition at line 6070 of file kmp_settings.cpp.

References __kmp_stg_find(), __kmp_setting::defined, flag, and name.

Referenced by __kmp_stg_parse_kmp_dynamic_mode().

◆ __kmp_hw_get_core_type_keyword()

static const char * __kmp_hw_get_core_type_keyword ( kmp_hw_core_type_t  type)
inlinestatic

◆ __kmp_hw_subset_break_tie()

static kmp_hw_t __kmp_hw_subset_break_tie ( const kmp_hw_t possible,
size_t  num_possible 
)
static

Definition at line 5053 of file kmp_settings.cpp.

References i, KMP_HW_CORE, KMP_HW_SOCKET, KMP_HW_THREAD, and KMP_HW_UNKNOWN.

Referenced by __kmp_stg_parse_hw_subset_name().

◆ __kmp_initial_threads_capacity()

int __kmp_initial_threads_capacity ( int  req_nproc)

◆ __kmp_match_str()

static int __kmp_match_str ( char const *  token,
char const *  buf,
const char **  end 
)
static

◆ __kmp_match_with_sentinel()

static int __kmp_match_with_sentinel ( char const *  a,
char const *  b,
size_t  len,
char  sentinel 
)
static

Definition at line 66 of file kmp_settings.cpp.

References a, b, and FALSE.

Referenced by __kmp_stg_parse_barrier_pattern().

◆ __kmp_omp_schedule_restore()

static void __kmp_omp_schedule_restore ( )
inlinestatic

◆ __kmp_parse_nested_num_threads()

static void __kmp_parse_nested_num_threads ( const char var,
const char env,
kmp_nested_nthreads_t nth_array 
)
static

◆ __kmp_parse_single_omp_schedule()

static const char * __kmp_parse_single_omp_schedule ( const char name,
const char value,
bool  parse_hier = false 
)
static

◆ __kmp_stg_check_rivals()

static int __kmp_stg_check_rivals ( char const *  name,
char const *  value,
kmp_setting_t **  rivals 
)
static

◆ __kmp_stg_cmp()

static int __kmp_stg_cmp ( void const *  _a,
void const *  _b 
)
static

Definition at line 5802 of file kmp_settings.cpp.

References a, b, and RCAST.

Referenced by __kmp_stg_init().

◆ __kmp_stg_find()

static kmp_setting_t * __kmp_stg_find ( char const *  name)
inlinestatic

◆ __kmp_stg_init()

static void __kmp_stg_init ( void  )
static

◆ __kmp_stg_parse()

static void __kmp_stg_parse ( char const *  name,
char const *  value 
)
static

◆ __kmp_stg_parse_abort_delay()

static void __kmp_stg_parse_abort_delay ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 1855 of file kmp_settings.cpp.

References __kmp_abort_delay, __kmp_stg_parse_int(), delay, name, and value.

◆ __kmp_stg_parse_affinity_format()

static void __kmp_stg_parse_affinity_format ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_align_alloc()

static void __kmp_stg_parse_align_alloc ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 1677 of file kmp_settings.cpp.

References __kmp_align_alloc, __kmp_stg_parse_size(), CACHE_LINE, name, and value.

◆ __kmp_stg_parse_all_threadprivate()

static void __kmp_stg_parse_all_threadprivate ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_allocator()

static void __kmp_stg_parse_allocator ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_atomic_mode()

static void __kmp_stg_parse_atomic_mode ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 4511 of file kmp_settings.cpp.

References __kmp_atomic_mode, __kmp_stg_parse_int(), mode, name, and value.

◆ __kmp_stg_parse_barrier_branch_bit()

static void __kmp_stg_parse_barrier_branch_bit ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_barrier_pattern()

static void __kmp_stg_parse_barrier_pattern ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_blocktime()

static void __kmp_stg_parse_blocktime ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_bool()

static void __kmp_stg_parse_bool ( char const *  name,
char const *  value,
int out 
)
static

◆ __kmp_stg_parse_consistency_check()

static void __kmp_stg_parse_consistency_check ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_cpuinfo_file()

static void __kmp_stg_parse_cpuinfo_file ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 1872 of file kmp_settings.cpp.

References __kmp_stg_parse_str(), K_DIAG, name, and value.

◆ __kmp_stg_parse_default_device()

static void __kmp_stg_parse_default_device ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_device_thread_limit()

static void __kmp_stg_parse_device_thread_limit ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_disp_buffers()

static void __kmp_stg_parse_disp_buffers ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_display_affinity()

static void __kmp_stg_parse_display_affinity ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 3658 of file kmp_settings.cpp.

References __kmp_display_affinity, __kmp_stg_parse_bool(), name, and value.

◆ __kmp_stg_parse_duplicate_lib_ok()

static void __kmp_stg_parse_duplicate_lib_ok ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 777 of file kmp_settings.cpp.

References __kmp_duplicate_library_ok, __kmp_stg_parse_bool(), name, and value.

◆ __kmp_stg_parse_force_reduction()

static void __kmp_stg_parse_force_reduction ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_foreign_threads_threadprivate()

static void __kmp_stg_parse_foreign_threads_threadprivate ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 2000 of file kmp_settings.cpp.

References __kmp_foreign_tp, __kmp_stg_parse_bool(), name, and value.

◆ __kmp_stg_parse_gtid_mode()

static void __kmp_stg_parse_gtid_mode ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_hw_subset()

static void __kmp_stg_parse_hw_subset ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_hw_subset_name()

static kmp_hw_t __kmp_stg_parse_hw_subset_name ( char const *  token)
static

◆ __kmp_stg_parse_init_at_fork()

static void __kmp_stg_parse_init_at_fork ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_int()

static void __kmp_stg_parse_int ( char const *  name,
char const *  value,
int  min,
int  max,
int out 
)
static

◆ __kmp_stg_parse_kmp_dynamic_mode()

static void __kmp_stg_parse_kmp_dynamic_mode ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_kmp_force_monotonic()

static void __kmp_stg_parse_kmp_force_monotonic ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 4498 of file kmp_settings.cpp.

References __kmp_force_monotonic, __kmp_stg_parse_bool(), name, and value.

◆ __kmp_stg_parse_lock_block()

static void __kmp_stg_parse_lock_block ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_lock_kind()

static void __kmp_stg_parse_lock_kind ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_malloc_pool_incr()

static void __kmp_stg_parse_malloc_pool_incr ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_max_active_levels()

static void __kmp_stg_parse_max_active_levels ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_max_task_priority()

static void __kmp_stg_parse_max_task_priority ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_nested()

static void __kmp_stg_parse_nested ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_nesting_mode()

static void __kmp_stg_parse_nesting_mode ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 1069 of file kmp_settings.cpp.

References __kmp_nesting_mode, __kmp_stg_parse_int(), name, and value.

◆ __kmp_stg_parse_nteams()

static void __kmp_stg_parse_nteams ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 620 of file kmp_settings.cpp.

References __kmp_nteams, __kmp_stg_parse_int(), __kmp_sys_max_nth, K_DIAG, name, and value.

◆ __kmp_stg_parse_num_hidden_helper_threads()

static void __kmp_stg_parse_num_hidden_helper_threads ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_num_threads()

static void __kmp_stg_parse_num_threads ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_omp_cancellation()

static void __kmp_stg_parse_omp_cancellation ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_omp_display_env()

static void __kmp_stg_parse_omp_display_env ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_omp_dynamic()

static void __kmp_stg_parse_omp_dynamic ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 4039 of file kmp_settings.cpp.

References __kmp_global, __kmp_stg_parse_bool(), name, and value.

◆ __kmp_stg_parse_omp_schedule()

static void __kmp_stg_parse_omp_schedule ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_proc_bind()

static void __kmp_stg_parse_proc_bind ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_schedule()

static void __kmp_stg_parse_schedule ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_settings()

static void __kmp_stg_parse_settings ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 942 of file kmp_settings.cpp.

References __kmp_settings, __kmp_stg_parse_bool(), name, and value.

◆ __kmp_stg_parse_size()

static void __kmp_stg_parse_size ( char const *  name,
char const *  value,
size_t  size_min,
size_t  size_max,
int is_specified,
size_t *  out,
size_t  factor 
)
static

◆ __kmp_stg_parse_spin_backoff_params()

static void __kmp_stg_parse_spin_backoff_params ( const char name,
const char value,
void data 
)
static

◆ __kmp_stg_parse_stackoffset()

static void __kmp_stg_parse_stackoffset ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_stackpad()

static void __kmp_stg_parse_stackpad ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_stacksize()

static void __kmp_stg_parse_stacksize ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_storage_map()

static void __kmp_stg_parse_storage_map ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_str()

static void __kmp_stg_parse_str ( char const *  name,
char const *  value,
char **  out 
)
static

Definition at line 325 of file kmp_settings.cpp.

References __kmp_str_format(), __kmp_str_free(), and value.

Referenced by __kmp_stg_parse_cpuinfo_file().

◆ __kmp_stg_parse_target_offload()

static void __kmp_stg_parse_target_offload ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_task_stealing()

static void __kmp_stg_parse_task_stealing ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 1371 of file kmp_settings.cpp.

References __kmp_stg_parse_int(), __kmp_task_stealing_constraint, name, and value.

◆ __kmp_stg_parse_task_throttling()

static void __kmp_stg_parse_task_throttling ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 5347 of file kmp_settings.cpp.

References __kmp_enable_task_throttling, __kmp_stg_parse_bool(), name, and value.

◆ __kmp_stg_parse_tasking()

static void __kmp_stg_parse_tasking ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 1360 of file kmp_settings.cpp.

References __kmp_stg_parse_int(), __kmp_tasking_mode, name, tskm_max, and value.

◆ __kmp_stg_parse_taskloop_min_tasks()

static void __kmp_stg_parse_taskloop_min_tasks ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 1475 of file kmp_settings.cpp.

References __kmp_stg_parse_int(), __kmp_taskloop_min_tasks, name, and value.

◆ __kmp_stg_parse_teams_th_limit()

static void __kmp_stg_parse_teams_th_limit ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_teams_thread_limit()

static void __kmp_stg_parse_teams_thread_limit ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_thread_limit()

static void __kmp_stg_parse_thread_limit ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_use_hidden_helper()

static void __kmp_stg_parse_use_hidden_helper ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_use_yield()

static void __kmp_stg_parse_use_yield ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_version()

static void __kmp_stg_parse_version ( char const *  name,
char const *  value,
void data 
)
static

Definition at line 1037 of file kmp_settings.cpp.

References __kmp_stg_parse_bool(), __kmp_version, name, and value.

◆ __kmp_stg_parse_wait_policy()

static void __kmp_stg_parse_wait_policy ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_parse_warnings()

static void __kmp_stg_parse_warnings ( char const *  name,
char const *  value,
void data 
)
static

◆ __kmp_stg_print_abort_delay()

static void __kmp_stg_print_abort_delay ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1864 of file kmp_settings.cpp.

References __kmp_abort_delay, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_affinity_format()

static void __kmp_stg_print_affinity_format ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_align_alloc()

static void __kmp_stg_print_align_alloc ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1683 of file kmp_settings.cpp.

References __kmp_align_alloc, __kmp_stg_print_size(), and name.

◆ __kmp_stg_print_all_threadprivate()

static void __kmp_stg_print_all_threadprivate ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1992 of file kmp_settings.cpp.

References __kmp_stg_print_int(), __kmp_tp_capacity, and name.

◆ __kmp_stg_print_allocator()

static void __kmp_stg_print_allocator ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_atomic_mode()

static void __kmp_stg_print_atomic_mode ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 4529 of file kmp_settings.cpp.

References __kmp_atomic_mode, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_barrier_branch_bit()

static void __kmp_stg_print_barrier_branch_bit ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_barrier_pattern()

static void __kmp_stg_print_barrier_pattern ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_blocktime()

static void __kmp_stg_print_blocktime ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_bool()

static void __kmp_stg_print_bool ( kmp_str_buf_t buffer,
char const *  name,
int  value 
)
static

◆ __kmp_stg_print_consistency_check()

static void __kmp_stg_print_consistency_check ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 4553 of file kmp_settings.cpp.

References __kmp_env_consistency_check, __kmp_stg_print_str(), name, and value.

◆ __kmp_stg_print_cpuinfo_file()

static void __kmp_stg_print_cpuinfo_file ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_default_device()

static void __kmp_stg_print_default_device ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1415 of file kmp_settings.cpp.

References __kmp_default_device, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_device_thread_limit()

static void __kmp_stg_print_device_thread_limit ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 599 of file kmp_settings.cpp.

References __kmp_max_nth, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_disp_buffers()

static void __kmp_stg_print_disp_buffers ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1499 of file kmp_settings.cpp.

References __kmp_dispatch_num_buffers, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_display_affinity()

static void __kmp_stg_print_display_affinity ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 3662 of file kmp_settings.cpp.

References __kmp_display_affinity, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_duplicate_lib_ok()

static void __kmp_stg_print_duplicate_lib_ok ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 784 of file kmp_settings.cpp.

References __kmp_duplicate_library_ok, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_force_reduction()

static void __kmp_stg_print_force_reduction ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_foreign_threads_threadprivate()

static void __kmp_stg_print_foreign_threads_threadprivate ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 2006 of file kmp_settings.cpp.

References __kmp_foreign_tp, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_gtid_mode()

static void __kmp_stg_print_gtid_mode ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_hw_subset()

static void __kmp_stg_print_hw_subset ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_init_at_fork()

static void __kmp_stg_print_init_at_fork ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_int()

static void __kmp_stg_print_int ( kmp_str_buf_t buffer,
char const *  name,
int  value 
)
static

◆ __kmp_stg_print_kmp_dynamic_mode()

static void __kmp_stg_print_kmp_dynamic_mode ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_kmp_force_monotonic()

static void __kmp_stg_print_kmp_force_monotonic ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 4503 of file kmp_settings.cpp.

References __kmp_force_monotonic, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_lock_block()

static void __kmp_stg_print_lock_block ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 4675 of file kmp_settings.cpp.

References __kmp_num_locks_in_block, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_lock_kind()

static void __kmp_stg_print_lock_kind ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_malloc_pool_incr()

static void __kmp_stg_print_malloc_pool_incr ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 4604 of file kmp_settings.cpp.

References __kmp_malloc_pool_incr, __kmp_stg_print_size(), and name.

◆ __kmp_stg_print_max_active_levels()

static void __kmp_stg_print_max_active_levels ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1402 of file kmp_settings.cpp.

References __kmp_dflt_max_active_levels, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_max_task_priority()

static void __kmp_stg_print_max_task_priority ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1468 of file kmp_settings.cpp.

References __kmp_max_task_priority, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_nested()

static void __kmp_stg_print_nested ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_nesting_mode()

static void __kmp_stg_print_nesting_mode ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_nteams()

static void __kmp_stg_print_nteams ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 626 of file kmp_settings.cpp.

References __kmp_nteams, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_num_hidden_helper_threads()

static void __kmp_stg_print_num_hidden_helper_threads ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_num_threads()

static void __kmp_stg_print_num_threads ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_omp_cancellation()

static void __kmp_stg_print_omp_cancellation ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 5437 of file kmp_settings.cpp.

References __kmp_omp_cancellation, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_omp_display_env()

static void __kmp_stg_print_omp_display_env ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_omp_dynamic()

static void __kmp_stg_print_omp_dynamic ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 4044 of file kmp_settings.cpp.

References __kmp_global, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_omp_schedule()

static void __kmp_stg_print_omp_schedule ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_proc_bind()

static void __kmp_stg_print_proc_bind ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_schedule()

static void __kmp_stg_print_schedule ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_settings()

static void __kmp_stg_print_settings ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 947 of file kmp_settings.cpp.

References __kmp_settings, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_size()

static void __kmp_stg_print_size ( kmp_str_buf_t buffer,
char const *  name,
size_t  value 
)
static

◆ __kmp_stg_print_spin_backoff_params()

static void __kmp_stg_print_spin_backoff_params ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_stackoffset()

static void __kmp_stg_print_stackoffset ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 984 of file kmp_settings.cpp.

References __kmp_stg_print_size(), __kmp_stkoffset, and name.

◆ __kmp_stg_print_stackpad()

static void __kmp_stg_print_stackpad ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 965 of file kmp_settings.cpp.

References __kmp_stg_print_int(), __kmp_stkpadding, and name.

◆ __kmp_stg_print_stacksize()

static void __kmp_stg_print_stacksize ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_storage_map()

static void __kmp_stg_print_storage_map ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_str()

static void __kmp_stg_print_str ( kmp_str_buf_t buffer,
char const *  name,
char const *  value 
)
static

◆ __kmp_stg_print_target_offload()

static void __kmp_stg_print_target_offload ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_task_stealing()

static void __kmp_stg_print_task_stealing ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1377 of file kmp_settings.cpp.

References __kmp_stg_print_int(), __kmp_task_stealing_constraint, and name.

◆ __kmp_stg_print_task_throttling()

static void __kmp_stg_print_task_throttling ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 5352 of file kmp_settings.cpp.

References __kmp_enable_task_throttling, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_tasking()

static void __kmp_stg_print_tasking ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1366 of file kmp_settings.cpp.

References __kmp_stg_print_int(), __kmp_tasking_mode, and name.

◆ __kmp_stg_print_taskloop_min_tasks()

static void __kmp_stg_print_taskloop_min_tasks ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1482 of file kmp_settings.cpp.

References __kmp_stg_print_uint64(), __kmp_taskloop_min_tasks, and name.

◆ __kmp_stg_print_teams_th_limit()

static void __kmp_stg_print_teams_th_limit ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 640 of file kmp_settings.cpp.

References __kmp_stg_print_int(), __kmp_teams_thread_limit, and name.

◆ __kmp_stg_print_teams_thread_limit()

static void __kmp_stg_print_teams_thread_limit ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 652 of file kmp_settings.cpp.

References __kmp_stg_print_int(), __kmp_teams_max_nth, and name.

◆ __kmp_stg_print_thread_limit()

static void __kmp_stg_print_thread_limit ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 613 of file kmp_settings.cpp.

References __kmp_cg_max_nth, __kmp_stg_print_int(), and name.

◆ __kmp_stg_print_uint64()

static void __kmp_stg_print_uint64 ( kmp_str_buf_t buffer,
char const *  name,
kmp_uint64  value 
)
static

◆ __kmp_stg_print_use_hidden_helper()

static void __kmp_stg_print_use_hidden_helper ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1329 of file kmp_settings.cpp.

References __kmp_enable_hidden_helper, __kmp_stg_print_bool(), and name.

◆ __kmp_stg_print_use_yield()

static void __kmp_stg_print_use_yield ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 665 of file kmp_settings.cpp.

References __kmp_stg_print_int(), __kmp_use_yield, and name.

◆ __kmp_stg_print_version()

static void __kmp_stg_print_version ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1042 of file kmp_settings.cpp.

References __kmp_stg_print_bool(), __kmp_version, and name.

◆ __kmp_stg_print_wait_policy()

static void __kmp_stg_print_wait_policy ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

◆ __kmp_stg_print_warnings()

static void __kmp_stg_print_warnings ( kmp_str_buf_t buffer,
char const *  name,
void data 
)
static

Definition at line 1060 of file kmp_settings.cpp.

References __kmp_generate_warnings, __kmp_stg_print_bool(), and name.

◆ __kmp_strcasecmp_with_sentinel()

static int __kmp_strcasecmp_with_sentinel ( char const *  a,
char const *  b,
char  sentinel 
)
static

Variable Documentation

◆ __kmp_env_format

bool __kmp_env_format = 0

◆ __kmp_stg_count

int const __kmp_stg_count
static
Initial value:
=
sizeof(__kmp_stg_table) / sizeof(kmp_setting_t)
static kmp_setting_t __kmp_stg_table[]

Definition at line 5785 of file kmp_settings.cpp.

Referenced by __kmp_display_env_impl(), __kmp_env_print(), __kmp_stg_find(), and __kmp_stg_init().

◆ __kmp_stg_table

kmp_setting_t __kmp_stg_table[]
static

◆ blocktime_str

char const* blocktime_str = NULL
static

Definition at line 809 of file kmp_settings.cpp.

Referenced by __kmp_env_initialize(), and __kmp_stg_parse_wait_policy().