EM-ODP  3.7.0
Event Machine on ODP
event_machine_pool.c File Reference
#include "em_include.h"
Include dependency graph for event_machine_pool.c:

Go to the source code of this file.

Macros

#define SUBPOOL_STATS_INV_ARG_FMT   "Inv. args: pool:%" PRI_POOL " subpools:%p num_subpools:%d subpool_stats:%p"
 
#define SUBPOOL_STATS_SELECTED_INV_ARG_FMT   "Inv. args: pool:%" PRI_POOL " subpools:%p num_subpools:%d subpool_stats:%p opt: %p"
 

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)
 

Detailed Description

Event Machine event pool functions.

Definition in file event_machine_pool.c.