|
EM-ODP
3.7.0
Event Machine on ODP
|
Go to the documentation of this file.
31 #ifndef EVENT_MACHINE_POOL_H_
32 #define EVENT_MACHINE_POOL_H_
34 #pragma GCC visibility push(default)
400 uint32_t num_subpools;
442 uint32_t num_subpools;
890 #pragma GCC visibility pop
int em_pool_get_num_subpools(em_pool_t pool)
Return the number of subpools in an EM pool.
int em_pool_subpool_stats(em_pool_t pool, const int subpools[], int num_subpools, em_pool_subpool_stats_t subpool_stats[])
Retrieve statistics about subpool(s) of an EM pool.
em_pool_t em_pool_get_next(void)
em_status_t em_pool_subpool_stats_reset(em_pool_t pool, const int subpools[], int num_subpools)
void em_pool_subpool_stats_print(em_pool_t pool, const int subpools[], int num_subpools)
Helper function to print statistics for subpool(s) of an EM pool.
em_pool_t em_pool_find(const char *name)
uint64_t core_cache_available
void em_pool_stats_print(em_pool_t pool)
Helper function to print statistics for an EM pool.
void em_pool_info_print_all(void)
em_pool_t em_pool_create(const char *name, em_pool_t pool, const em_pool_cfg_t *pool_cfg)
void em_pool_subpool_stats_selected_print(em_pool_t pool, const int subpools[], int num_subpools, const em_pool_stats_opt_t *opt)
Helper function to print selected statistics for subpool(s) of an EM pool.
em_status_t em_pool_delete(em_pool_t pool)
size_t em_pool_get_name(em_pool_t pool, char *name, size_t maxlen)
void em_pool_cfg_init(em_pool_cfg_t *const pool_cfg)
uint32_t __internal_check
em_event_type_t event_type
em_status_t em_pool_info(em_pool_t pool, em_pool_info_t *pool_info)
void em_pool_info_print(em_pool_t pool)
int em_pool_subpool_stats_selected(em_pool_t pool, const int subpools[], int num_subpools, em_pool_subpool_stats_selected_t subpool_stats[], const em_pool_stats_opt_t *opt)
Retrieve selected statistics about subpool(s) of an EM pool.
em_pool_t em_pool_get_first(unsigned int *num)
uint64_t em_pool_to_u64(em_pool_t pool)
em_status_t em_pool_stats_selected(em_pool_t pool, em_pool_stats_selected_t *pool_stats, const em_pool_stats_opt_t *opt)
Retrieve selected statistics about an EM pool.
em_event_type_t event_type
#define EM_MAX_SUBPOOLS
The number of subpools in each EM pool. The subpool is a pool with buffers of only one size.
#define EM_POOL_SUBPOOL_STAT_INTERNAL
em_status_t em_pool_stats(em_pool_t pool, em_pool_stats_t *pool_stats)
Retrieve statistics about an EM pool.
void em_pool_stats_selected_print(em_pool_t pool, const em_pool_stats_opt_t *opt)
Helper function to print selected statistics for an EM pool.
em_status_t em_pool_stats_reset(em_pool_t pool)