EM-ODP  3.7.0
Event Machine on ODP
mpool_elem_t Struct Reference

#include <em_pool_types.h>

Collaboration diagram for mpool_elem_t:

Data Fields

em_event_type_t event_type
 
uint32_t align_offset
 
struct {
   uint16_t   size
 
user_area
 
int num_subpools
 
uint32_t size [EM_MAX_SUBPOOLS]
 
odp_pool_t odp_pool [EM_MAX_SUBPOOLS]
 
em_pool_t em_pool
 
objpool_elem_t objpool_elem
 
odp_pool_stats_opt_t stats_opt
 
em_pool_cfg_t pool_cfg
 
char name [EM_POOL_NAME_LEN]
 

Detailed Description

EM event/memory pool

Definition at line 47 of file em_pool_types.h.

Field Documentation

◆ align_offset

uint32_t mpool_elem_t::align_offset

Event alignment offset, see em-odp.conf

Definition at line 51 of file em_pool_types.h.

◆ em_pool

em_pool_t mpool_elem_t::em_pool

EM pool handle

Definition at line 71 of file em_pool_types.h.

◆ event_type

em_event_type_t mpool_elem_t::event_type

Event type of events allocated from the pool

Definition at line 49 of file em_pool_types.h.

◆ num_subpools

int mpool_elem_t::num_subpools

Number of subpools within one EM pool, max=EM_MAX_SUBPOOLS

Definition at line 65 of file em_pool_types.h.

◆ objpool_elem

objpool_elem_t mpool_elem_t::objpool_elem

for linking free pool-entries together

Definition at line 73 of file em_pool_types.h.

◆ odp_pool

odp_pool_t mpool_elem_t::odp_pool[EM_MAX_SUBPOOLS]

ODP buffer handles for the subpools

Definition at line 69 of file em_pool_types.h.

◆ pool_cfg

em_pool_cfg_t mpool_elem_t::pool_cfg

Pool Configuration given during create

Definition at line 77 of file em_pool_types.h.

◆ size [1/2]

uint16_t mpool_elem_t::size

Requested user area size (bytes)

Definition at line 55 of file em_pool_types.h.

◆ size [2/2]

uint32_t mpool_elem_t::size[EM_MAX_SUBPOOLS]

ODP (sub)pool buffer (event) payload sizes

Definition at line 67 of file em_pool_types.h.

◆ stats_opt

odp_pool_stats_opt_t mpool_elem_t::stats_opt

Pool statistic options chosen during create

Definition at line 75 of file em_pool_types.h.

◆ user_area

struct { ... } mpool_elem_t::user_area

Event user area size


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