LLVM OpenMP 20.0.0git
|
#include "kmp.h"
#include "kmp_affinity.h"
#include "kmp_i18n.h"
#include "kmp_io.h"
#include "kmp_itt.h"
#include "kmp_wait_release.h"
#include <ntsecapi.h>
#include <ntstatus.h>
#include <psapi.h>
Go to the source code of this file.
Classes | |
struct | CLIENT_ID |
struct | VM_COUNTERS |
struct | SYSTEM_THREAD |
struct | SYSTEM_PROCESS_INFORMATION |
Macros | |
#define | CHECK(cond) |
Typedefs | |
typedef SYSTEM_PROCESS_INFORMATION * | PSYSTEM_PROCESS_INFORMATION |
typedef NTSTATUS(NTAPI * | NtQuerySystemInformation_t) (SYSTEM_INFORMATION_CLASS, PVOID, ULONG, PULONG) |
Enumerations | |
enum | SYSTEM_INFORMATION_CLASS { SystemProcessInformation = 5 } |
enum | THREAD_STATE { StateInitialized , StateReady , StateRunning , StateStandby , StateTerminated , StateWait , StateTransition , StateUnknown } |
Variables | |
NtQuerySystemInformation_t | NtQuerySystemInformation = NULL |
HMODULE | ntdll = NULL |
static HMODULE | kernel32 = NULL |
static kmp_int64 | __kmp_win32_time |
double | __kmp_win32_tick |
int | __kmp_init_runtime = FALSE |
CRITICAL_SECTION | __kmp_win32_section |
#define CHECK | ( | cond | ) |
typedef NTSTATUS(NTAPI * NtQuerySystemInformation_t) (SYSTEM_INFORMATION_CLASS, PVOID, ULONG, PULONG) |
Definition at line 126 of file z_Windows_NT_util.cpp.
Definition at line 107 of file z_Windows_NT_util.cpp.
Enumerator | |
---|---|
SystemProcessInformation |
Definition at line 32 of file z_Windows_NT_util.cpp.
enum THREAD_STATE |
Enumerator | |
---|---|
StateInitialized | |
StateReady | |
StateRunning | |
StateStandby | |
StateTerminated | |
StateWait | |
StateTransition | |
StateUnknown |
Definition at line 41 of file z_Windows_NT_util.cpp.
Definition at line 598 of file z_Windows_NT_util.cpp.
References __kmp_generate_warnings, __kmp_msg(), __kmp_msg_null, __kmp_str_free(), KMP_DEBUG_ASSERT, KMP_ERR, kmp_ms_warning, KMP_MSG, kmp_warnings_off, mask, kmp_msg::str, and TRUE.
Definition at line 632 of file z_Windows_NT_util.cpp.
References KA_TRACE.
void __kmp_atomic_resume_64 | ( | int | target_gtid, |
kmp_atomic_flag_64< C, S > * | flag | ||
) |
Definition at line 553 of file z_Windows_NT_util.cpp.
References __kmp_resume_template(), and flag.
Referenced by __kmp_dist_barrier_wakeup(), __kmp_free_team(), __kmp_null_resume_wrapper(), __kmp_resize_dist_barrier(), and kmp_atomic_flag_64< Cancellable, Sleepable >::resume().
template void __kmp_atomic_resume_64< false, true > | ( | int | , |
kmp_atomic_flag_64< false, true > * | |||
) |
void __kmp_atomic_suspend_64 | ( | int | th_gtid, |
kmp_atomic_flag_64< C, S > * | flag | ||
) |
Definition at line 472 of file z_Windows_NT_util.cpp.
References __kmp_suspend_template(), and flag.
Referenced by kmp_atomic_flag_64< Cancellable, Sleepable >::suspend().
template void __kmp_atomic_suspend_64< false, true > | ( | int | , |
kmp_atomic_flag_64< false, true > * | |||
) |
template void __kmp_atomic_suspend_64< true, false > | ( | int | , |
kmp_atomic_flag_64< true, false > * | |||
) |
Definition at line 939 of file z_Windows_NT_util.cpp.
References __kmp_sys_timer_data, __kmp_win32_time, KMP_CHECK_SYSFAIL_ERRNO, kmp_sys_timer::start, status, and TIMEVAL_TO_TIMESPEC.
void __kmp_create_worker | ( | int | gtid, |
kmp_info_t * | th, | ||
size_t | stack_size | ||
) |
Definition at line 1144 of file z_Windows_NT_util.cpp.
References __kmp_acquire_tas_lock(), __kmp_check_stack_overlap(), __kmp_env_stksize, __kmp_fatal(), __kmp_generate_warnings, __kmp_gtid_mode, __kmp_launch_worker(), __kmp_msg(), __kmp_msg_null, __kmp_release_tas_lock(), __kmp_set_stack_info(), __kmp_stkoffset, __kmp_stksize, __kmp_str_free(), FALSE, KA_TRACE, KMP_ASSERT, KMP_DEFAULT_STKSIZE, KMP_ERR, KMP_HNT, KMP_MB, kmp_ms_warning, KMP_MSG, KMP_SYSFAIL, KMP_UBER_GTID(), KMP_UINTPTR_SPEC, kmp_warnings_off, status, kmp_msg::str, TCR_4, TCW_4, TCW_PTR, and TRUE.
Referenced by __kmp_allocate_thread(), and __kmp_register_root().
Definition at line 307 of file z_Windows_NT_util.cpp.
References __kmp_init_runtime, __kmp_win32_section, KMP_CHECK_SYSFAIL, and status.
void __kmp_do_initialize_hidden_helper_threads | ( | ) |
Definition at line 1711 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
Referenced by __kmp_hidden_helper_initialize().
Definition at line 964 of file z_Windows_NT_util.cpp.
References __kmp_win32_tick, double, KMP_CHECK_SYSFAIL_ERRNO, KMP_NSEC_PER_SEC, KMP_USEC_PER_SEC, and status.
Referenced by __kmp_get_load_balance(), and FTN_GET_WTIME().
Definition at line 972 of file z_Windows_NT_util.cpp.
References __kmp_win32_tick, and double.
Referenced by FTN_GET_WTICK().
Definition at line 302 of file z_Windows_NT_util.cpp.
References __kmp_init_runtime, __kmp_win32_section, KMP_CHECK_SYSFAIL, KMP_DEBUG_ASSERT, and status.
Definition at line 1302 of file z_Windows_NT_util.cpp.
void __kmp_free_handle | ( | kmp_thread_t | tHandle | ) |
Definition at line 1542 of file z_Windows_NT_util.cpp.
References __kmp_fatal(), __kmp_msg_null, KMP_ERR, and KMP_MSG.
Referenced by __kmp_reap_common(), __kmp_reset_root(), __kmp_terminate_thread(), and __kmp_win32_cond_destroy().
Definition at line 1553 of file z_Windows_NT_util.cpp.
References __kmp_elapsed(), CHECK, i, KMP_INTERNAL_FREE, KMP_INTERNAL_REALLOC, SYSTEM_PROCESS_INFORMATION::NextEntryOffset, NtQuerySystemInformation, SYSTEM_PROCESS_INFORMATION::NumberOfThreads, SYSTEM_PROCESS_INFORMATION::ProcessId, SYSTEM_THREAD::State, StateRunning, status, SystemProcessInformation, and SYSTEM_PROCESS_INFORMATION::Threads.
Definition at line 580 of file z_Windows_NT_util.cpp.
References __kmp_gtid_threadprivate_key, __kmp_init_gtid, int, KA_TRACE, KMP_GTID_DNE, and KMP_GTID_SHUTDOWN.
Referenced by __kmp_get_global_thread_id(), __kmp_get_global_thread_id_reg(), __kmp_internal_end_library(), __kmp_internal_end_thread(), __kmp_register_root(), and __kmpc_end().
Definition at line 568 of file z_Windows_NT_util.cpp.
References __kmp_gtid_threadprivate_key, __kmp_init_gtid, KA_TRACE, KMP_CHECK_SYSFAIL, KMP_FATAL, and status.
Referenced by __kmp_launch_worker(), and __kmp_register_root().
kmp_uint64 __kmp_hardware_timestamp | ( | void | ) |
Definition at line 1534 of file z_Windows_NT_util.cpp.
References r.
void __kmp_hidden_helper_initz_release | ( | ) |
Definition at line 1719 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
void __kmp_hidden_helper_main_thread_release | ( | ) |
Definition at line 1727 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
Referenced by __kmp_internal_end_library(), and __kmp_internal_end_thread().
void __kmp_hidden_helper_main_thread_wait | ( | ) |
Definition at line 1723 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
void __kmp_hidden_helper_threads_deinitz_release | ( | ) |
Definition at line 1739 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
Referenced by __kmp_hidden_helper_threads_initz_routine().
void __kmp_hidden_helper_threads_deinitz_wait | ( | ) |
Definition at line 1735 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
Referenced by __kmp_internal_end_library(), and __kmp_internal_end_thread().
void __kmp_hidden_helper_threads_initz_wait | ( | ) |
Definition at line 1715 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
Referenced by __kmp_hidden_helper_initialize().
void __kmp_hidden_helper_worker_thread_signal | ( | ) |
Definition at line 1731 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
Referenced by __kmp_push_task(), and __kmp_task_finish().
void __kmp_hidden_helper_worker_thread_wait | ( | ) |
Definition at line 1707 of file z_Windows_NT_util.cpp.
References KMP_ASSERT.
Referenced by __kmp_wait_template().
Definition at line 945 of file z_Windows_NT_util.cpp.
References __kmp_fatal(), __kmp_msg_null, __kmp_win32_tick, double, KMP_ERR, KMP_MSG, and status.
Referenced by __kmp_register_library_startup(), and __kmp_runtime_initialize().
Definition at line 1521 of file z_Windows_NT_util.cpp.
References __kmp_str_format(), addr, buf, count, end, err, i, if(), int, KMP_ASSERT, KMP_INTERNAL_FREE, KMP_INTERNAL_MALLOC, KMP_INTERNAL_REALLOC, KMP_STRLEN, name, p, rd, size, and void.
Referenced by __kmp_register_library_startup().
int __kmp_is_thread_alive | ( | kmp_info_t * | th, |
DWORD * | exit_val | ||
) |
Definition at line 1291 of file z_Windows_NT_util.cpp.
References __kmp_fatal(), __kmp_msg_null, KMP_ERR, and KMP_MSG.
Referenced by __kmp_free_team(), __kmp_reap_common(), and __kmp_wait_to_unref_task_teams().
Definition at line 990 of file z_Windows_NT_util.cpp.
References __kmp_check_stack_overlap(), __kmp_gtid_mode, __kmp_gtid_set_specific(), __kmp_launch_thread(), __kmp_stkoffset, FALSE, KMP_ALLOCA, KMP_ASSERT, KMP_FSYNC_RELEASING, KMP_MB, TCR_4, TCW_4, TCW_PTR, TRUE, and void.
Referenced by __kmp_create_worker().
void __kmp_lock_suspend_mx | ( | kmp_info_t * | th | ) |
Definition at line 351 of file z_Windows_NT_util.cpp.
References __kmp_win32_mutex_lock(), KMP_CHECK_SYSFAIL, and status.
Referenced by __kmp_allocate_thread(), __kmp_free_thread(), __kmp_resume_template(), and __kmp_suspend_template().
Definition at line 1673 of file z_Windows_NT_util.cpp.
References __kmp_lookup_symbol(), i, and name.
Referenced by __kmp_lookup_symbol().
kmp_uint64 __kmp_now_nsec | ( | ) |
Definition at line 984 of file z_Windows_NT_util.cpp.
References __kmp_win32_tick, and KMP_NSEC_PER_SEC.
Definition at line 648 of file z_Windows_NT_util.cpp.
References double, KMP_NSEC_PER_SEC, and status.
int __kmp_read_system_info | ( | struct kmp_sys_info * | info | ) |
Definition at line 676 of file z_Windows_NT_util.cpp.
References kmp_sys_info::inblock, KMP_CHECK_SYSFAIL_ERRNO, kmp_sys_info::majflt, kmp_sys_info::maxrss, kmp_sys_info::minflt, kmp_sys_info::nivcsw, kmp_sys_info::nswap, kmp_sys_info::nvcsw, kmp_sys_info::oublock, and status.
Definition at line 974 of file z_Windows_NT_util.cpp.
References __kmp_sys_timer_data, __kmp_win32_tick, __kmp_win32_time, double, KMP_CHECK_SYSFAIL_ERRNO, kmp_sys_timer::start, status, stop(), TIMEVAL_TO_TIMESPEC, and TS2NS.
Referenced by __kmp_register_library_startup().
|
static |
Definition at line 1307 of file z_Windows_NT_util.cpp.
References __kmp_free_handle(), __kmp_is_thread_alive(), KA_TRACE, KMP_FSYNC_CANCEL, KMP_FSYNC_SPIN_ACQUIRED, KMP_FSYNC_SPIN_INIT, KMP_FSYNC_SPIN_PREPARE, KMP_GTID_DNE, KMP_INIT_BACKOFF, KMP_INIT_YIELD, KMP_MB, KMP_UINTPTR_SPEC, KMP_YIELD_OVERSUB_ELSE_SPIN, and TCR_4.
Referenced by __kmp_reap_worker().
void __kmp_reap_worker | ( | kmp_info_t * | th | ) |
Definition at line 1409 of file z_Windows_NT_util.cpp.
References __kmp_fatal(), __kmp_msg_null, __kmp_reap_common(), KA_TRACE, KMP_ERR, KMP_MB, KMP_MSG, status, and void.
Referenced by __kmp_reap_thread().
Definition at line 545 of file z_Windows_NT_util.cpp.
References __kmp_resume_template(), and flag.
Referenced by __kmp_add_threads_to_team(), __kmp_null_resume_wrapper(), __kmp_reap_thread(), and kmp_flag_32< Cancellable, Sleepable >::resume().
template void __kmp_resume_32< false, false > | ( | int | , |
kmp_flag_32< false, false > * | |||
) |
template void __kmp_resume_32< false, true > | ( | int | , |
kmp_flag_32< false, true > * | |||
) |
Definition at line 549 of file z_Windows_NT_util.cpp.
References __kmp_resume_template(), and flag.
Referenced by __kmp_null_resume_wrapper(), and kmp_flag_64< Cancellable, Sleepable >::resume().
template void __kmp_resume_64< false, true > | ( | int | , |
kmp_flag_64< false, true > * | |||
) |
void __kmp_resume_oncore | ( | int | target_gtid, |
kmp_flag_oncore * | flag | ||
) |
Definition at line 556 of file z_Windows_NT_util.cpp.
References __kmp_resume_template(), and flag.
Referenced by __kmp_null_resume_wrapper(), and kmp_flag_oncore::resume().
Definition at line 490 of file z_Windows_NT_util.cpp.
References __kmp_get_gtid, __kmp_init_gtid, __kmp_lock_suspend_mx(), __kmp_suspend_initialize_thread(), __kmp_threads, __kmp_unlock_suspend_mx(), __kmp_win32_cond_signal(), C, flag, flag_unset, KF_TRACE, KMP_DEBUG_ASSERT, TCR_4, and TCW_PTR.
Referenced by __kmp_atomic_resume_64(), __kmp_resume_32(), __kmp_resume_64(), and __kmp_resume_oncore().
Definition at line 890 of file z_Windows_NT_util.cpp.
References __kmp_gtid_threadprivate_key, __kmp_init_runtime, __kmp_wait_cv, __kmp_wait_mx, __kmp_win32_section, FALSE, KA_TRACE, kernel32, KMP_CHECK_SYSFAIL, KMP_SYSFAIL, ntdll, NtQuerySystemInformation, and status.
Referenced by __kmp_cleanup().
Definition at line 689 of file z_Windows_NT_util.cpp.
References __kmp_check_stksize(), __kmp_get_xproc(), __kmp_gtid_threadprivate_key, __kmp_init_runtime, __kmp_initialize_system_tick(), __kmp_internal_end_dest(), __kmp_serial_initialize(), __kmp_stksize, __kmp_str_buf_free(), __kmp_str_buf_init, __kmp_str_buf_print(), __kmp_str_buf_reserve(), __kmp_sys_max_nth, __kmp_sys_min_stksize, __kmp_tls_gtid_min, __kmp_type_convert(), __kmp_wait_cv, __kmp_wait_mx, __kmp_win32_section, __kmp_xproc, h, i, KA_TRACE, kernel32, KMP_CHECK_SYSFAIL, KMP_DEBUG_ASSERT, KMP_DEBUG_ASSERT2, KMP_FATAL, KMP_MAX_NTH, KMP_MIN_STKSIZE, KMP_TLS_GTID_MIN, ntdll, NtQuerySystemInformation, path, ret, size, status, TRUE, and void.
Referenced by __kmp_do_serial_initialize().
int __kmp_still_running | ( | kmp_info_t * | th | ) |
Definition at line 1219 of file z_Windows_NT_util.cpp.
Definition at line 464 of file z_Windows_NT_util.cpp.
References __kmp_suspend_template(), and flag.
Referenced by kmp_flag_32< Cancellable, Sleepable >::suspend().
template void __kmp_suspend_32< false, false > | ( | int | , |
kmp_flag_32< false, false > * | |||
) |
Definition at line 468 of file z_Windows_NT_util.cpp.
References __kmp_suspend_template(), and flag.
Referenced by kmp_flag_64< Cancellable, Sleepable >::suspend().
template void __kmp_suspend_64< false, true > | ( | int | , |
kmp_flag_64< false, true > * | |||
) |
template void __kmp_suspend_64< true, false > | ( | int | , |
kmp_flag_64< true, false > * | |||
) |
Definition at line 314 of file z_Windows_NT_util.cpp.
References __kmp_suspend_cond_attr, __kmp_suspend_mutex_attr, KMP_CHECK_SYSFAIL, and status.
Referenced by __kmp_parallel_initialize().
void __kmp_suspend_initialize_thread | ( | kmp_info_t * | th | ) |
Definition at line 317 of file z_Windows_NT_util.cpp.
References __kmp_atomic_compare_store(), __kmp_fork_count, __kmp_suspend_cond_attr, __kmp_suspend_mutex_attr, __kmp_win32_cond_init(), __kmp_win32_mutex_init(), KMP_ATOMIC_LD_ACQ, KMP_ATOMIC_LD_RLX, KMP_ATOMIC_ST_REL, KMP_CHECK_SYSFAIL, KMP_CPU_PAUSE, status, and TRUE.
Referenced by __kmp_allocate_thread(), __kmp_free_thread(), __kmp_resume_template(), and __kmp_suspend_template().
void __kmp_suspend_oncore | ( | int | th_gtid, |
kmp_flag_oncore * | flag | ||
) |
Definition at line 475 of file z_Windows_NT_util.cpp.
References __kmp_suspend_template(), and flag.
Referenced by kmp_flag_oncore::suspend().
Definition at line 362 of file z_Windows_NT_util.cpp.
References __kmp_dflt_blocktime, __kmp_lock_suspend_mx(), __kmp_pause_status, __kmp_suspend_initialize_thread(), __kmp_thread_pool_active_nth, __kmp_threads, __kmp_unlock_suspend_mx(), __kmp_win32_cond_wait(), FALSE, flag, flag_unset, KF_TRACE, KMP_ATOMIC_DEC, KMP_ATOMIC_INC, KMP_DEBUG_ASSERT, KMP_MAX_BLOCKTIME, kmp_soft_paused, TCR_4, TCW_PTR, and TRUE.
Referenced by __kmp_atomic_suspend_64(), __kmp_suspend_32(), __kmp_suspend_64(), and __kmp_suspend_oncore().
void __kmp_suspend_uninitialize_thread | ( | kmp_info_t * | th | ) |
Definition at line 337 of file z_Windows_NT_util.cpp.
References __kmp_fork_count, __kmp_win32_cond_destroy(), __kmp_win32_mutex_destroy(), FALSE, KMP_ATOMIC_LD_ACQ, KMP_ATOMIC_LD_RLX, KMP_ATOMIC_ST_REL, KMP_DEBUG_ASSERT, KMP_SYSFAIL, and status.
Referenced by __kmp_reap_thread().
Definition at line 925 of file z_Windows_NT_util.cpp.
References __kmp_fatal(), __kmp_free_handle(), __kmp_msg_null, __kmp_threads, FALSE, KA_TRACE, KMP_ERR, KMP_MSG, KMP_YIELD, status, and TRUE.
Definition at line 1509 of file z_Windows_NT_util.cpp.
References __kmp_fatal(), __kmp_msg_null, FALSE, KMP_ERR, KMP_MSG, and status.
Referenced by __kmp_fatal().
int __kmp_try_suspend_mx | ( | kmp_info_t * | th | ) |
Definition at line 347 of file z_Windows_NT_util.cpp.
References __kmp_win32_mutex_trylock().
Referenced by __kmp_resume_if_soft_paused().
void __kmp_unlock_suspend_mx | ( | kmp_info_t * | th | ) |
Definition at line 355 of file z_Windows_NT_util.cpp.
References __kmp_win32_mutex_unlock(), KMP_CHECK_SYSFAIL, and status.
Referenced by __kmp_allocate_thread(), __kmp_free_thread(), __kmp_resume_if_soft_paused(), __kmp_resume_template(), and __kmp_suspend_template().
void __kmp_win32_cond_broadcast | ( | kmp_win32_cond_t * | cv | ) |
Definition at line 282 of file z_Windows_NT_util.cpp.
References __kmp_win32_mutex_lock(), and __kmp_win32_mutex_unlock().
Referenced by __kmp_win32_cond_signal().
void __kmp_win32_cond_destroy | ( | kmp_win32_cond_t * | cv | ) |
Definition at line 192 of file z_Windows_NT_util.cpp.
References __kmp_free_handle(), and __kmp_win32_mutex_destroy().
Referenced by __kmp_suspend_uninitialize_thread().
void __kmp_win32_cond_init | ( | kmp_win32_cond_t * | cv | ) |
Definition at line 174 of file z_Windows_NT_util.cpp.
References __kmp_win32_mutex_init(), FALSE, and TRUE.
Referenced by __kmp_suspend_initialize_thread().
void __kmp_win32_cond_signal | ( | kmp_win32_cond_t * | cv | ) |
Definition at line 298 of file z_Windows_NT_util.cpp.
References __kmp_win32_cond_broadcast().
Referenced by __kmp_resume_template().
|
static |
Definition at line 202 of file z_Windows_NT_util.cpp.
References __kmp_win32_mutex_lock(), __kmp_win32_mutex_unlock(), flag, flag_unset, KF_TRACE, KMP_BARRIER_SLEEP_STATE, KMP_DEBUG_ASSERT, res, and TCW_PTR.
Referenced by __kmp_suspend_template().
void __kmp_win32_mutex_destroy | ( | kmp_win32_mutex_t * | mx | ) |
Definition at line 158 of file z_Windows_NT_util.cpp.
Referenced by __kmp_suspend_uninitialize_thread(), and __kmp_win32_cond_destroy().
void __kmp_win32_mutex_init | ( | kmp_win32_mutex_t * | mx | ) |
Definition at line 151 of file z_Windows_NT_util.cpp.
Referenced by __kmp_suspend_initialize_thread(), and __kmp_win32_cond_init().
void __kmp_win32_mutex_lock | ( | kmp_win32_mutex_t * | mx | ) |
Definition at line 162 of file z_Windows_NT_util.cpp.
Referenced by __kmp_lock_suspend_mx(), __kmp_win32_cond_broadcast(), and __kmp_win32_cond_wait().
int __kmp_win32_mutex_trylock | ( | kmp_win32_mutex_t * | mx | ) |
Definition at line 166 of file z_Windows_NT_util.cpp.
Referenced by __kmp_try_suspend_mx().
void __kmp_win32_mutex_unlock | ( | kmp_win32_mutex_t * | mx | ) |
Definition at line 170 of file z_Windows_NT_util.cpp.
Referenced by __kmp_unlock_suspend_mx(), __kmp_win32_cond_broadcast(), and __kmp_win32_cond_wait().
void __kmp_yield | ( | ) |
Definition at line 566 of file z_Windows_NT_util.cpp.
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_PROCESS_INFORMATION, CreateTime) | = =32 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_PROCESS_INFORMATION, HandleCount) | = =96 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_PROCESS_INFORMATION, ImageName) | = =56 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_PROCESS_INFORMATION, IOCounters) | = =208 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_PROCESS_INFORMATION, NextEntryOffset) | = =0 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_PROCESS_INFORMATION, ProcessId) | = =80 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_PROCESS_INFORMATION, Threads) | = =256 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_PROCESS_INFORMATION, VMCounters) | = =112 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_THREAD, KernelTime) | = =0 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_THREAD, StartAddress) | = =32 | ) |
KMP_BUILD_ASSERT | ( | offsetof(SYSTEM_THREAD, State) | = =68 | ) |
Definition at line 148 of file z_Windows_NT_util.cpp.
Referenced by __kmp_disable(), __kmp_enable(), __kmp_runtime_destroy(), and __kmp_runtime_initialize().
CRITICAL_SECTION __kmp_win32_section |
Definition at line 149 of file z_Windows_NT_util.cpp.
Referenced by __kmp_disable(), __kmp_enable(), __kmp_runtime_destroy(), and __kmp_runtime_initialize().
double __kmp_win32_tick |
Definition at line 146 of file z_Windows_NT_util.cpp.
Referenced by __kmp_elapsed(), __kmp_elapsed_tick(), __kmp_initialize_system_tick(), __kmp_now_nsec(), and __kmp_read_system_time().
|
static |
Definition at line 145 of file z_Windows_NT_util.cpp.
Referenced by __kmp_clear_system_time(), and __kmp_read_system_time().
|
static |
Definition at line 134 of file z_Windows_NT_util.cpp.
Referenced by __kmp_runtime_destroy(), and __kmp_runtime_initialize().
HMODULE ntdll = NULL |
Definition at line 130 of file z_Windows_NT_util.cpp.
Referenced by __kmp_runtime_destroy(), and __kmp_runtime_initialize().
NtQuerySystemInformation_t NtQuerySystemInformation = NULL |
Definition at line 128 of file z_Windows_NT_util.cpp.
Referenced by __kmp_get_load_balance(), __kmp_runtime_destroy(), and __kmp_runtime_initialize().