EM-ODP  3.7.0
Event Machine on ODP
event_machine_pool.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  em_pool_stats_opt_t
 
struct  em_pool_cfg_t
 
struct  em_pool_info_t
 
struct  em_pool_subpool_stats_t
 
struct  em_pool_stats_t
 
struct  em_pool_subpool_stats_selected_t
 
struct  em_pool_stats_selected_t
 

Functions

void em_pool_cfg_init (em_pool_cfg_t *const pool_cfg)
 
em_pool_t em_pool_create (const char *name, em_pool_t pool, const em_pool_cfg_t *pool_cfg)
 
em_status_t em_pool_delete (em_pool_t pool)
 
em_pool_t em_pool_find (const char *name)
 
size_t em_pool_get_name (em_pool_t pool, char *name, size_t maxlen)
 
em_pool_t em_pool_get_first (unsigned int *num)
 
em_pool_t em_pool_get_next (void)
 
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_get_num_subpools (em_pool_t pool)
 Return the number of subpools in an EM pool. More...
 
void em_pool_info_print_all (void)
 
em_status_t em_pool_stats (em_pool_t pool, em_pool_stats_t *pool_stats)
 Retrieve statistics about an EM pool. More...
 
em_status_t em_pool_stats_reset (em_pool_t pool)
 
void em_pool_stats_print (em_pool_t pool)
 Helper function to print statistics for an EM pool. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
uint64_t em_pool_to_u64 (em_pool_t pool)