LLVM OpenMP 22.0.0git
kmp_hw_thread_t Class Reference

#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

Detailed Description

Definition at line 852 of file kmp_affinity.h.

Member Function Documentation

◆ clear()

void kmp_hw_thread_t::clear ( )
inline

Definition at line 866 of file kmp_affinity.h.

References attrs, i, ids, int, KMP_HW_LAST, leader, and UNKNOWN_ID.

◆ compare_compact()

int kmp_hw_thread_t::compare_compact ( const void * a,
const void * b )
static

References a, and b.

◆ compare_ids()

int kmp_hw_thread_t::compare_ids ( const void * a,
const void * b )
static

◆ print()

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, i, ids, leader, os_id, and sub_ids.

Member Data Documentation

◆ attrs

kmp_hw_attr_t kmp_hw_thread_t::attrs

Definition at line 863 of file kmp_affinity.h.

Referenced by clear(), compare_ids(), and print().

◆ ids

int kmp_hw_thread_t::ids[KMP_HW_LAST]

Definition at line 858 of file kmp_affinity.h.

Referenced by kmp_topology_t::check_ids(), clear(), compare_ids(), and print().

◆ leader

bool kmp_hw_thread_t::leader

Definition at line 860 of file kmp_affinity.h.

Referenced by clear(), and print().

◆ MULTIPLE_ID

const int kmp_hw_thread_t::MULTIPLE_ID = -2
static

Definition at line 855 of file kmp_affinity.h.

◆ original_idx

int kmp_hw_thread_t::original_idx

Definition at line 862 of file kmp_affinity.h.

◆ os_id

int kmp_hw_thread_t::os_id

Definition at line 861 of file kmp_affinity.h.

Referenced by compare_ids(), and print().

◆ sub_ids

int kmp_hw_thread_t::sub_ids[KMP_HW_LAST]

Definition at line 859 of file kmp_affinity.h.

Referenced by print().

◆ UNKNOWN_ID

const int kmp_hw_thread_t::UNKNOWN_ID = -1
static

The documentation for this class was generated from the following files: