ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
ngl::socket_pool Class Reference
Inheritance diagram for ngl::socket_pool:
ngl::buff_pool< enum_socket_pool_init_bytes, enum_socket_pool_count >

Static Public Member Functions

static char * malloc (int abytes)
static void free (char *abuff)
static void print_stats ()
static bucket_stats get_stats ()
static bucket_stats get_bucket_stats (int abucket_idx)
static std::vector< uint64_t > get_bucket_peak_per_thread (int abucket_idx)
static std::array< int32_t, enum_socket_pool_count > get_bucket_bytes ()
static const std::array< int32_t, enum_socket_pool_count > & get_bucket_counts ()
Static Public Member Functions inherited from ngl::buff_pool< enum_socket_pool_init_bytes, enum_socket_pool_count >
static void track_alloc (holder &aholder, int16_t aindex)
static void maybe_flush (holder &aholder)
static bucket_stats aggregate_global_stats ()
static bucket_stats aggregate_bucket_stats (int abucket_idx)
static std::vector< uint64_t > get_bucket_peak_per_thread (int abucket_idx)
static constexpr std::array< int32_t, TCOUNT > get_bytes ()

Additional Inherited Members

Public Member Functions inherited from ngl::buff_pool< enum_socket_pool_init_bytes, enum_socket_pool_count >
 buff_pool (const std::array< int32_t, TCOUNT > &acounts)
char * malloc_private (int32_t abytes)
void free_private (char *abuff)
const std::array< int32_t, TCOUNT > & get_counts () const
void print_stats () const

The documentation for this class was generated from the following file: