EM-ODP
3.7.0
Event Machine on ODP
|
#include <event_machine_pool.h>
Data Fields | |
struct { | |
uint64_t available: 1 | |
uint64_t alloc_ops: 1 | |
uint64_t alloc_fails: 1 | |
uint64_t free_ops: 1 | |
uint64_t total_ops: 1 | |
uint64_t cache_available: 1 | |
uint64_t cache_alloc_ops: 1 | |
uint64_t cache_free_ops: 1 | |
uint64_t core_cache_available: 1 | |
}; | |
uint64_t | all |
EM pool configuration
Configuration of an EM event pool consisting of up to 'EM_MAX_SUBPOOLS' subpools, each supporting a specific event payload size. Event allocation, i.e. em_alloc(), will use the subpool that provides the best fit for the requested size.
Example usage:
EM pool statistic counter options
Definition at line 98 of file event_machine_pool.h.
struct { ... } |
Option flags
uint64_t em_pool_stats_opt_t::all |
All bits of the bit field structure
This field can be used to set/clear all flags, or for bitwise operations over the entire structure.
Definition at line 138 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::alloc_fails |
See em_pool_subpool_stats_t::alloc_fails
Definition at line 108 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::alloc_ops |
See em_pool_subpool_stats_t::alloc_ops
Definition at line 105 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::available |
See em_pool_subpool_stats_t::available
Definition at line 102 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::cache_alloc_ops |
See em_pool_subpool_stats_t::cache_alloc_ops
Definition at line 120 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::cache_available |
See em_pool_subpool_stats_t::cache_available
Definition at line 117 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::cache_free_ops |
See em_pool_subpool_stats_t::cache_free_ops
Definition at line 123 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::core_cache_available |
Enables applications to read core/thread cache available of the underlying ODP pool with ODP API (e.g. odp_pool_stats()). EM pool statistic APIs do not support fetching core_cache_available.
Definition at line 130 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::free_ops |
See em_pool_subpool_stats_t::free_ops
Definition at line 111 of file event_machine_pool.h.
uint64_t em_pool_stats_opt_t::total_ops |
See em_pool_subpool_stats_t::total_ops
Definition at line 114 of file event_machine_pool.h.