LLVM OpenMP 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
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 841 of file kmp_affinity.h.

Member Function Documentation

◆ clear()

void kmp_hw_thread_t::clear ( )
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.

◆ compare_compact()

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

◆ compare_ids()

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

◆ print()

void kmp_hw_thread_t::print ( ) const

Member Data Documentation

◆ attrs

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().

◆ ids

int kmp_hw_thread_t::ids[KMP_HW_LAST]

◆ leader

bool kmp_hw_thread_t::leader

Definition at line 849 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 844 of file kmp_affinity.h.

◆ original_idx

int kmp_hw_thread_t::original_idx

Definition at line 851 of file kmp_affinity.h.

◆ os_id

int kmp_hw_thread_t::os_id

Definition at line 850 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 848 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: