LLVM OpenMP 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/openmp/runtime/src/kmp_affinity.h"
Public Member Functions | |
void | print () const |
void | clear () |
Static Public Member Functions | |
static int | compare_ids (const void *a, const void *b) |
static int | compare_compact (const void *a, const void *b) |
Public Attributes | |
int | ids [KMP_HW_LAST] |
int | sub_ids [KMP_HW_LAST] |
bool | leader |
int | os_id |
int | original_idx |
kmp_hw_attr_t | attrs |
Static Public Attributes | |
static const int | UNKNOWN_ID = -1 |
static const int | MULTIPLE_ID = -2 |
Definition at line 841 of file kmp_affinity.h.
|
inline |
Definition at line 855 of file kmp_affinity.h.
References attrs, kmp_hw_attr_t::clear(), i, ids, int, KMP_HW_LAST, leader, and UNKNOWN_ID.
Definition at line 201 of file kmp_affinity.cpp.
References __kmp_is_hybrid_cpu(), __kmp_topology, a, attrs, b, kmp_hw_attr_t::get_core_eff(), kmp_topology_t::get_depth(), kmp_topology_t::get_type(), ids, kmp_hw_attr_t::is_core_eff_valid(), KMP_HW_CORE, level, os_id, and UNKNOWN_ID.
Referenced by kmp_topology_t::sort_ids().
void kmp_hw_thread_t::print | ( | ) | const |
Definition at line 264 of file kmp_affinity.cpp.
References __kmp_hw_get_core_type_string(), __kmp_topology, attrs, kmp_hw_attr_t::get_core_eff(), kmp_hw_attr_t::get_core_type(), kmp_topology_t::get_depth(), i, ids, kmp_hw_attr_t::is_core_eff_valid(), kmp_hw_attr_t::is_core_type_valid(), leader, os_id, and sub_ids.
Referenced by kmp_topology_t::dump().
kmp_hw_attr_t kmp_hw_thread_t::attrs |
Definition at line 852 of file kmp_affinity.h.
Referenced by clear(), compare_ids(), and print().
int kmp_hw_thread_t::ids[KMP_HW_LAST] |
Definition at line 847 of file kmp_affinity.h.
Referenced by kmp_topology_t::check_ids(), clear(), compare_ids(), kmp_topology_t::insert_layer(), and print().
bool kmp_hw_thread_t::leader |
Definition at line 849 of file kmp_affinity.h.
|
static |
Definition at line 844 of file kmp_affinity.h.
int kmp_hw_thread_t::original_idx |
Definition at line 851 of file kmp_affinity.h.
int kmp_hw_thread_t::os_id |
Definition at line 850 of file kmp_affinity.h.
Referenced by compare_ids(), and print().
int kmp_hw_thread_t::sub_ids[KMP_HW_LAST] |
Definition at line 848 of file kmp_affinity.h.
Referenced by print().
|
static |
Definition at line 843 of file kmp_affinity.h.
Referenced by clear(), compare_ids(), kmp_topology_t::insert_layer(), and kmp_topology_t::print().