EM-ODP
3.7.0
Event Machine on ODP
|
#include <event_machine_pool.h>
Data Fields | |
char | name [EM_POOL_NAME_LEN] |
em_pool_t | em_pool |
em_event_type_t | event_type |
uint32_t | align_offset |
size_t | user_area_size |
int | num_subpools |
struct { | |
uint32_t size | |
uint32_t num | |
uint32_t cache_size | |
uint32_t used | |
uint32_t free | |
} | subpool [EM_MAX_SUBPOOLS] |
EM pool information and usage statistics
Definition at line 325 of file event_machine_pool.h.
uint32_t em_pool_info_t::align_offset |
Event payload alignment offset for events from the pool
Definition at line 333 of file event_machine_pool.h.
uint32_t em_pool_info_t::cache_size |
Max number of locally cached subpool events per EM-core
Definition at line 344 of file event_machine_pool.h.
em_pool_t em_pool_info_t::em_pool |
EM pool handle
Definition at line 329 of file event_machine_pool.h.
em_event_type_t em_pool_info_t::event_type |
Event type of events allocated from the pool
Definition at line 331 of file event_machine_pool.h.
uint32_t em_pool_info_t::free |
Number of events free in the subpool. Only if the 'available' or 'cache_available' is set to true in 'pool.statistics' of EM config file or in 'em_pool_cfg_t::stats_opt::opt' given to function em_pool_create(..., pool_cfg), otherwise .free=0.
Definition at line 360 of file event_machine_pool.h.
uint32_t em_pool_info_t::num |
Number of events in the subpool
Definition at line 342 of file event_machine_pool.h.
int em_pool_info_t::num_subpools |
Number of subpools within one EM pool, max=EM_MAX_SUBPOOLS
Definition at line 337 of file event_machine_pool.h.
uint32_t em_pool_info_t::size |
Event payload size of the subpool
Definition at line 340 of file event_machine_pool.h.
uint32_t em_pool_info_t::used |
Number of events allocated from the subpool. Only if the 'available' or 'cache_available' is set to true in 'pool.statistics' of EM config file or in 'em_pool_cfg_t::stats_opt::opt' given to function em_pool_create(..., pool_cfg), otherwise .used=0.
Definition at line 352 of file event_machine_pool.h.
size_t em_pool_info_t::user_area_size |
Event user area size for events from the pool
Definition at line 335 of file event_machine_pool.h.