EM-ODP
3.7.0
Event Machine on ODP
|
#include <em_core_types.h>
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 |
EM mapping from physical core ids <-> logical core ids
Definition at line 47 of file em_core_types.h.
int core_map_t::count |
Number of EM cores
Definition at line 55 of file em_core_types.h.
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.
env_spinlock_t core_map_t::lock |
core map lock
Definition at line 49 of file em_core_types.h.
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.
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.
em_core_mask_t core_map_t::logic_mask |
Mask of logic core IDs
Definition at line 71 of file em_core_types.h.
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.
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.
em_core_mask_t core_map_t::phys_mask |
Mask of phys core IDs
Definition at line 73 of file em_core_types.h.