ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
ngl::bucket_info Struct Reference

内存池桶统计信息 More...

#include <actor_gmclient.h>

Public Attributes

int32_t bucket_size = 0
int32_t bucket_capacity = 0
uint64_t current_allocated = 0
std::vector< uint64_t > peak_per_thread
uint64_t current_cached = 0

Detailed Description

内存池桶统计信息

Member Data Documentation

◆ bucket_capacity

int32_t ngl::bucket_info::bucket_capacity = 0

配置容量(100、80、60等)

◆ bucket_size

int32_t ngl::bucket_info::bucket_size = 0

桶大小(字节)(64、128、256等)

◆ current_allocated

uint64_t ngl::bucket_info::current_allocated = 0

当前外部持有量

◆ current_cached

uint64_t ngl::bucket_info::current_cached = 0

当前池缓存量

◆ peak_per_thread

std::vector<uint64_t> ngl::bucket_info::peak_per_thread

各线程历史峰值(不合并,按线程展示)


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