#include <stdarg.h>
Go to the source code of this file.
Defines | |
#define | __KMP_BUILD_ASSERT(expr, suffix) static char __kmp_build_check_##suffix[ (expr) ? 1 : -1 ] |
#define | _KMP_BUILD_ASSERT(expr, suffix) __KMP_BUILD_ASSERT( (expr), suffix ) |
#define | K_DIAG(d, x) {} |
#define | KA_DUMP(d, x) |
#define | KA_TRACE(d, x) |
#define | KB_DUMP(d, x) |
#define | KB_TRACE(d, x) |
#define | KC_DUMP(d, x) |
#define | KC_TRACE(d, x) |
#define | KD_DUMP(d, x) |
#define | KD_TRACE(d, x) |
#define | KE_DUMP(d, x) |
#define | KE_TRACE(d, x) |
#define | KF_DUMP(d, x) |
#define | KF_TRACE(d, x) |
#define | KMP_ASSERT(cond) 0 |
#define | KMP_ASSERT2(cond, msg) 0 |
#define | KMP_BUILD_ASSERT(expr) _KMP_BUILD_ASSERT( (expr), __LINE__ ) |
#define | KMP_DEBUG_ASSERT(cond) 0 |
#define | KMP_DEBUG_ASSERT2(cond, msg) 0 |
Functions | |
void | __kmp_debug_printf (char const *format,...) |
void | __kmp_dump_debug_buffer (void) |
#define __KMP_BUILD_ASSERT | ( | expr, | |||
suffix | ) | static char __kmp_build_check_##suffix[ (expr) ? 1 : -1 ] |
Definition at line 74 of file kmp_debug.h.
#define _KMP_BUILD_ASSERT | ( | expr, | |||
suffix | ) | __KMP_BUILD_ASSERT( (expr), suffix ) |
Definition at line 75 of file kmp_debug.h.
#define K_DIAG | ( | d, | |||
x | ) | {} |
Definition at line 143 of file kmp_debug.h.
Referenced by __kmp_env_initialize(), __kmp_print_version_1(), __kmp_stg_parse_all_threads(), __kmp_stg_parse_barrier_branch_bit(), __kmp_stg_parse_blocktime(), __kmp_stg_parse_cpuinfo_file(), __kmp_stg_parse_force_reduction(), __kmp_stg_parse_num_threads(), and __kmp_stg_parse_omp_schedule().
#define KA_DUMP | ( | d, | |||
x | ) |
Definition at line 145 of file kmp_debug.h.
#define KA_TRACE | ( | d, | |||
x | ) |
Definition at line 137 of file kmp_debug.h.
Referenced by __kmp_acquire_drdpa_lock_timed_template(), __kmp_acquire_queuing_lock_timed_template(), __kmp_affinity_determine_capable(), __kmp_alloc_argv_entries(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_atfork_child(), __kmp_barrier(), __kmp_check_stack_overlap(), __kmp_cleanup(), __kmp_cleanup_user_locks(), __kmp_create_monitor(), __kmp_create_worker(), __kmp_determine_reduction_method(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_fork_team_threads(), __kmp_free_team(), __kmp_free_thread(), __kmp_get_frequency_from_proc(), __kmp_get_global_thread_id(), __kmp_get_global_thread_id_reg(), __kmp_get_random(), __kmp_gtid_get_specific(), __kmp_gtid_set_specific(), __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_init_drdpa_lock(), __kmp_init_queuing_lock(), __kmp_init_random(), __kmp_initialize_root(), __kmp_internal_end(), __kmp_internal_end_atexit(), __kmp_internal_end_dest(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_join_barrier(), __kmp_join_call(), __kmp_launch_monitor(), __kmp_launch_thread(), __kmp_linear_barrier_gather(), __kmp_linear_barrier_release(), __kmp_parallel_initialize(), __kmp_reap_common(), __kmp_reap_monitor(), __kmp_reap_thread(), __kmp_reap_worker(), __kmp_register_library_startup(), __kmp_register_root(), __kmp_release_drdpa_lock(), __kmp_release_queuing_lock(), __kmp_reset_root(), __kmp_runtime_destroy(), __kmp_runtime_initialize(), __kmp_set_num_threads(), __kmp_set_stack_info(), __kmp_terminate_thread(), __kmp_test_drdpa_lock(), __kmp_test_queuing_lock(), __kmp_tree_barrier_gather(), __kmp_tree_barrier_release(), __kmp_unregister_root_current_thread(), __kmp_unregister_root_other_thread(), __kmp_user_set_library(), __kmp_wait_sleep(), __kmpc_atomic_end(), __kmpc_atomic_start(), __kmpc_critical(), __kmpc_end(), __kmpc_end_critical(), __kmpc_end_reduce(), __kmpc_end_reduce_nowait(), __kmpc_end_serialized_parallel(), __kmpc_pop_num_threads(), __kmpc_push_num_threads(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_serialized_parallel(), GOMP_atomic_end(), GOMP_atomic_start(), GOMP_barrier(), GOMP_critical_end(), GOMP_critical_name_end(), GOMP_critical_name_start(), GOMP_critical_start(), GOMP_loop_end(), GOMP_loop_end_nowait(), GOMP_ordered_end(), GOMP_ordered_start(), GOMP_parallel_end(), GOMP_parallel_sections_start(), GOMP_parallel_start(), GOMP_sections_end(), GOMP_sections_end_nowait(), GOMP_sections_next(), GOMP_sections_start(), GOMP_single_copy_end(), GOMP_single_copy_start(), and GOMP_single_start().
#define KB_DUMP | ( | d, | |||
x | ) |
Definition at line 146 of file kmp_debug.h.
#define KB_TRACE | ( | d, | |||
x | ) |
Definition at line 138 of file kmp_debug.h.
Referenced by __kmp_taskq_allocate(), and __kmpc_taskq_free().
#define KC_DUMP | ( | d, | |||
x | ) |
Definition at line 147 of file kmp_debug.h.
#define KC_TRACE | ( | d, | |||
x | ) |
Definition at line 139 of file kmp_debug.h.
Referenced by __kmp_atfork_child(), __kmp_common_destroy_gtid(), __kmp_find_shared_task_common(), __kmp_reserve_threads(), __kmp_threadprivate_find_task_common(), __kmp_unregister_root_current_thread(), __kmp_unregister_root_other_thread(), __kmpc_barrier(), __kmpc_barrier_master(), __kmpc_barrier_master_nowait(), __kmpc_begin(), __kmpc_bound_num_threads(), __kmpc_bound_thread_num(), __kmpc_copyprivate(), __kmpc_critical(), __kmpc_end(), __kmpc_end_barrier_master(), __kmpc_end_critical(), __kmpc_end_master(), __kmpc_end_ordered(), __kmpc_end_serialized_parallel(), __kmpc_flush(), __kmpc_global_num_threads(), __kmpc_global_thread_num(), __kmpc_master(), __kmpc_ordered(), __kmpc_serialized_parallel(), __kmpc_threadprivate(), __kmpc_threadprivate_cached(), __kmpc_threadprivate_register(), __kmpc_threadprivate_register_vec(), and kmp_threadprivate_insert().
#define KD_DUMP | ( | d, | |||
x | ) |
Definition at line 148 of file kmp_debug.h.
#define KD_TRACE | ( | d, | |||
x | ) |
Definition at line 140 of file kmp_debug.h.
Referenced by __kmp_dispatch_deo(), __kmp_dispatch_dxo(), __kmp_dispatch_finish(), __kmp_dispatch_init(), __kmp_dispatch_next(), __kmp_for_static_init(), and __kmp_initialize_info().
#define KE_DUMP | ( | d, | |||
x | ) |
Definition at line 149 of file kmp_debug.h.
Referenced by __kmp_pop_parallel(), __kmp_pop_sync(), __kmp_pop_workshare(), __kmp_push_parallel(), __kmp_push_sync(), and __kmp_push_workshare().
#define KE_TRACE | ( | d, | |||
x | ) |
Definition at line 141 of file kmp_debug.h.
Referenced by ___kmp_allocate(), ___kmp_allocate_align(), ___kmp_fast_allocate(), ___kmp_fast_free(), ___kmp_free(), ___kmp_page_allocate(), ___kmp_thread_calloc(), ___kmp_thread_free(), ___kmp_thread_malloc(), ___kmp_thread_realloc(), __kmp_allocate_cons_stack(), __kmp_check_barrier(), __kmp_check_sync(), __kmp_check_workshare(), __kmp_expand_cons_stack(), __kmp_for_static_init(), __kmp_free_fast_memory(), __kmp_initialize_fast_memory(), __kmp_pop_parallel(), __kmp_pop_sync(), __kmp_pop_workshare(), __kmp_push_parallel(), __kmp_push_sync(), __kmp_push_workshare(), __kmp_taskq_allocate(), __kmpc_end_taskq(), __kmpc_end_taskq_task(), __kmpc_for_static_fini(), __kmpc_task(), __kmpc_task_buffer(), __kmpc_taskq(), and __kmpc_taskq_task().
#define KF_DUMP | ( | d, | |||
x | ) |
Definition at line 150 of file kmp_debug.h.
Referenced by __kmp_execute_task_from_queue(), __kmp_remove_queue_from_tree(), __kmpc_end_taskq(), __kmpc_end_taskq_task(), __kmpc_task(), __kmpc_task_buffer(), __kmpc_taskq(), and __kmpc_taskq_task().
#define KF_TRACE | ( | d, | |||
x | ) |
Definition at line 142 of file kmp_debug.h.
Referenced by __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_aux_set_blocktime(), __kmp_dequeue_task(), __kmp_execute_task_from_queue(), __kmp_fork_call(), __kmp_initialize_info(), __kmp_initialize_root(), __kmp_join_call(), __kmp_register_root(), __kmp_reinitialize_team(), __kmp_release(), __kmp_remove_queue_from_tree(), __kmp_resume(), __kmp_set_num_threads(), __kmp_suspend(), __kmp_wait_sleep(), __kmpc_end_taskq(), __kmpc_serialized_parallel(), __kmpc_task(), __kmpc_task_buffer(), __kmpc_taskq(), __kmpc_taskq_task(), and FTN_GET_BLOCKTIME().
#define KMP_ASSERT | ( | cond | ) | 0 |
Definition at line 99 of file kmp_debug.h.
Referenced by ___kmp_fast_free(), ___kmp_free(), __kmp_acquire_queuing_lock_timed_template(), __kmp_allocate_thread(), __kmp_check_sync(), __kmp_create_worker(), __kmp_determine_reduction_method(), __kmp_dispatch_init(), __kmp_dispatch_next(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_end_critical_section_reduce_block(), __kmp_gtid_set_specific(), __kmp_initialize_info(), __kmp_initialize_root(), __kmp_internal_begin(), __kmp_internal_end(), __kmp_internal_fork(), __kmp_internal_join(), __kmp_is_address_mapped(), __kmp_launch_thread(), __kmp_launch_worker(), __kmp_match_str(), __kmp_parallel_initialize(), __kmp_push_sync(), __kmp_register_root(), __kmp_remove_queue_from_tree(), __kmp_reserve_threads(), __kmp_set_user_lock_vptrs(), __kmp_static_delay(), __kmp_stg_parse_init_wait(), __kmp_stg_parse_next_wait(), __kmp_stg_print_kmp_dynamic_mode(), __kmp_unregister_root_current_thread(), __kmp_unregister_root_other_thread(), __kmp_validate_locks(), __kmpc_end_critical(), __kmpc_end_reduce(), __kmpc_end_reduce_nowait(), __kmpc_end_serialized_parallel(), __kmpc_reduce(), __kmpc_reduce_nowait(), __kmpc_serialized_parallel(), __kmpc_threadprivate_register(), __kmpc_threadprivate_register_vec(), compare_and_swap< kmp_int32 >(), GOMP_sections_next(), GOMP_sections_start(), test_then_add< kmp_int32 >(), test_then_inc< kmp_int32 >(), and test_then_inc_acq< kmp_int32 >().
#define KMP_ASSERT2 | ( | cond, | |||
msg | ) | 0 |
Definition at line 100 of file kmp_debug.h.
Referenced by __kmp_acquire_queuing_lock_timed_template(), __kmp_dispatch_init(), __kmp_for_static_init(), __kmp_fork_call(), and __kmp_release_queuing_lock().
#define KMP_BUILD_ASSERT | ( | expr | ) | _KMP_BUILD_ASSERT( (expr), __LINE__ ) |
Definition at line 76 of file kmp_debug.h.
Referenced by __kmp_dispatch_init().
#define KMP_DEBUG_ASSERT | ( | cond | ) | 0 |
Definition at line 101 of file kmp_debug.h.
Referenced by ___kmp_allocate_align(), ___kmp_env_blk_parse_string(), ___kmp_fast_allocate(), ___kmp_fast_free(), ___kmp_free(), __kmp_acquire_nested_drdpa_lock(), __kmp_acquire_nested_queuing_lock(), __kmp_acquire_nested_tas_lock(), __kmp_acquire_nested_ticket_lock(), __kmp_acquire_nested_user_lock_with_checks(), __kmp_acquire_queuing_lock(), __kmp_acquire_queuing_lock_timed_template(), __kmp_acquire_user_lock_with_checks(), __kmp_affinity_bind_thread(), __kmp_alloc_argv_entries(), __kmp_alloc_taskq(), __kmp_alloc_thunk(), __kmp_allocate_team(), __kmp_allocate_thread(), __kmp_barrier(), __kmp_change_thread_affinity_mask(), __kmp_check_workshare(), __kmp_common_destroy_gtid(), __kmp_common_initialize(), __kmp_create_monitor(), __kmp_dequeue_task(), __kmp_destroy_nested_user_lock_with_checks(), __kmp_destroy_user_lock(), __kmp_destroy_user_lock_with_checks(), __kmp_determine_reduction_method(), __kmp_dispatch_deo(), __kmp_dispatch_deo_error(), __kmp_dispatch_dxo(), __kmp_dispatch_finish(), __kmp_dispatch_init(), __kmp_dispatch_next(), __kmp_do_middle_initialize(), __kmp_do_serial_initialize(), __kmp_enable(), __kmp_enqueue_task(), __kmp_enter_critical_section_reduce_block(), __kmp_env_free(), __kmp_env_initialize(), __kmp_execute_task_from_queue(), __kmp_expand_file_name(), __kmp_expand_host_name(), __kmp_expand_threads(), __kmp_find_and_remove_finished_child_taskq(), __kmp_find_task_in_ancestor_queue(), __kmp_find_task_in_descendant_queue(), __kmp_for_static_init(), __kmp_fork_barrier(), __kmp_fork_call(), __kmp_fork_team_threads(), __kmp_free_taskq(), __kmp_free_team(), __kmp_free_thread(), __kmp_get_critical_section_ptr(), __kmp_get_global_icvs(), __kmp_get_global_thread_id(), __kmp_get_global_thread_id_reg(), __kmp_get_system_affinity(), __kmp_get_user_lock_owner(), __kmp_hyper_barrier_gather(), __kmp_hyper_barrier_release(), __kmp_init_nested_user_lock_with_checks(), __kmp_init_user_lock_with_checks(), __kmp_initialize_info(), __kmp_initialize_root(), __kmp_initialize_team(), __kmp_internal_fork(), __kmp_internal_join(), __kmp_join_barrier(), __kmp_join_call(), __kmp_launch_monitor(), __kmp_launch_thread(), __kmp_linear_barrier_gather(), __kmp_linear_barrier_release(), __kmp_lock_block_allocate(), __kmp_lock_table_insert(), __kmp_lookup_user_lock(), __kmp_msg(), __kmp_parse_nested_num_threads(), __kmp_pow(), __kmp_pragma(), __kmp_push_parallel(), __kmp_reap_monitor(), __kmp_reap_team(), __kmp_reap_thread(), __kmp_register_library_startup(), __kmp_register_root(), __kmp_reinitialize_team(), __kmp_release(), __kmp_release_nested_drdpa_lock(), __kmp_release_nested_queuing_lock(), __kmp_release_nested_tas_lock(), __kmp_release_nested_ticket_lock(), __kmp_release_nested_user_lock_with_checks(), __kmp_release_queuing_lock(), __kmp_release_user_lock_with_checks(), __kmp_remove_queue_from_tree(), __kmp_reserve_threads(), __kmp_reset_root(), __kmp_resume(), __kmp_run_before_invoked_task(), __kmp_runtime_initialize(), __kmp_set_num_threads(), __kmp_set_system_affinity(), __kmp_stg_check_rivals(), __kmp_stg_init(), __kmp_stg_print_stacksize(), __kmp_str_buf_cat(), __kmp_str_buf_reserve(), __kmp_str_buf_vprint(), __kmp_str_free(), __kmp_str_to_size(), __kmp_str_to_uint(), __kmp_suspend(), __kmp_suspend_uninitialize_thread(), __kmp_test_nested_drdpa_lock(), __kmp_test_nested_queuing_lock(), __kmp_test_nested_tas_lock(), __kmp_test_nested_ticket_lock(), __kmp_test_nested_user_lock_with_checks(), __kmp_test_queuing_lock(), __kmp_test_user_lock_with_checks(), __kmp_tree_barrier_gather(), __kmp_tree_barrier_release(), __kmp_unregister_library(), __kmp_unregister_root_current_thread(), __kmp_unregister_root_other_thread(), __kmp_user_lock_allocate(), __kmp_user_lock_free(), __kmp_wait_sleep(), __kmpc_atomic_10(), __kmpc_atomic_16(), __kmpc_atomic_20(), __kmpc_atomic_32(), __kmpc_atomic_4(), __kmpc_atomic_8(), __kmpc_dispatch_init_4(), __kmpc_dispatch_init_4u(), __kmpc_dispatch_init_8(), __kmpc_dispatch_init_8u(), __kmpc_end_master(), __kmpc_end_serialized_parallel(), __kmpc_end_taskq(), __kmpc_init_lock(), __kmpc_init_nest_lock(), __kmpc_ordered(), __kmpc_serialized_parallel(), __kmpc_task(), __kmpc_task_buffer(), __kmpc_taskq(), __kmpc_taskq_task(), ATOMIC_FIXED_ADD(), GOMP_sections_next(), GOMP_sections_start(), and kmp_threadprivate_insert_private_data().
#define KMP_DEBUG_ASSERT2 | ( | cond, | |||
msg | ) | 0 |
Definition at line 102 of file kmp_debug.h.
void __kmp_debug_printf | ( | char const * | format, | |
... | ||||
) |
Definition at line 66 of file kmp_debug.c.
References __kmp_vprintf(), and kmp_err.
Referenced by dump_cons_stack().
void __kmp_dump_debug_buffer | ( | void | ) |
Definition at line 131 of file kmp_debug.c.
References __kmp_acquire_bootstrap_lock(), __kmp_debug_buf_chars, __kmp_debug_buf_lines, __kmp_debug_buffer, __kmp_debug_count, __kmp_printf_no_lock(), __kmp_release_bootstrap_lock(), __kmp_stdio_lock, and i.
Referenced by __kmp_abort_process(), __kmp_internal_end_library(), and __kmp_internal_end_thread().