|
VLink 2.0.0
A high-performance communication middleware
|
Snapshot of pool statistics at a point in time. 更多...
#include <object_pool.h>
Public 属性 | |
| size_t | pool_size {0} |
| Number of objects currently idle in the pool. | |
| size_t | borrowed {0} |
| Number of objects currently held by callers. | |
| size_t | total_created {0} |
| Total objects ever created (pool_size + borrowed + destroyed). | |
| size_t | max_size {0} |
| Maximum allowed total objects. 0 means unlimited. | |
Snapshot of pool statistics at a point in time.
| size_t vlink::ObjectPool< T >::Stats::borrowed {0} |
Number of objects currently held by callers.
| size_t vlink::ObjectPool< T >::Stats::max_size {0} |
Maximum allowed total objects. 0 means unlimited.
| size_t vlink::ObjectPool< T >::Stats::pool_size {0} |
Number of objects currently idle in the pool.
| size_t vlink::ObjectPool< T >::Stats::total_created {0} |
Total objects ever created (pool_size + borrowed + destroyed).