EM-ODP  3.7.0
Event Machine on ODP
core_map_t Struct Reference

#include <em_core_types.h>

Collaboration diagram for core_map_t:

Data Fields

env_spinlock_t lock
 
odp_atomic_u32_t current_core_count
 
int count
 
struct {
   uint8_t   logic [EM_MAX_CORES]
 
   uint8_t   phys [EM_MAX_CORES]
 
phys_vs_logic
 
struct {
   uint16_t   logic [ODP_THREAD_COUNT_MAX]
 
   uint8_t   odp_thr [EM_MAX_CORES]
 
thr_vs_logic
 
em_core_mask_t logic_mask
 
em_core_mask_t phys_mask
 
void *end[0] ENV_CACHE_LINE_ALIGNED
 

Detailed Description

EM mapping from physical core ids <-> logical core ids

Definition at line 47 of file em_core_types.h.

Field Documentation

◆ count

int core_map_t::count

Number of EM cores

Definition at line 55 of file em_core_types.h.

◆ current_core_count

odp_atomic_u32_t core_map_t::current_core_count

Number of EM cores currently running (em_init_core() called)

Definition at line 52 of file em_core_types.h.

◆ lock

env_spinlock_t core_map_t::lock

core map lock

Definition at line 49 of file em_core_types.h.

◆ logic [1/2]

uint8_t core_map_t::logic[EM_MAX_CORES]

From physical core ids to logical EM core ids

Definition at line 58 of file em_core_types.h.

◆ logic [2/2]

uint16_t core_map_t::logic[ODP_THREAD_COUNT_MAX]

From ODP thread ids to logical EM core ids

Definition at line 65 of file em_core_types.h.

◆ logic_mask

em_core_mask_t core_map_t::logic_mask

Mask of logic core IDs

Definition at line 71 of file em_core_types.h.

◆ odp_thr

uint8_t core_map_t::odp_thr[EM_MAX_CORES]

From logical EM core ids to ODP thread ids

Definition at line 67 of file em_core_types.h.

◆ phys

uint8_t core_map_t::phys[EM_MAX_CORES]

From logical EM core ids to physical core ids

Definition at line 60 of file em_core_types.h.

◆ phys_mask

em_core_mask_t core_map_t::phys_mask

Mask of phys core IDs

Definition at line 73 of file em_core_types.h.


The documentation for this struct was generated from the following file: