|
VLink
2.0.0
A high-performance communication middleware
|
Per-tier runtime statistics snapshot. More...
#include <memory_pool.h>
Public Attributes | |
| size_t | max_size {0} |
Configured max_size for this tier. More... | |
| size_t | blocks_per_chunk {0} |
Configured blocks_per_chunk for this tier. More... | |
| size_t | block_size {0} |
| Effective block size after alignment rounding. More... | |
| uint64_t | hit_count {0} |
| Allocations dispatched to this tier (resettable). More... | |
| uint64_t | deallocate_count {0} |
| Deallocations dispatched to this tier (resettable). More... | |
| uint64_t | in_use_blocks {0} |
Best-effort hit_count - deallocate_count. More... | |
| uint64_t | chunk_count {0} |
Currently owned chunks; clear decrements by released count. More... | |
| uint64_t | upstream_alloc_count {0} |
| Lifetime number of chunks fully installed in this tier. More... | |
| uint64_t | upstream_alloc_bytes {0} |
| Lifetime bytes of those installed chunks. More... | |
Per-tier runtime statistics snapshot.
Counters use relaxed atomics; in_use_blocks and the lifetime upstream fields are best effort under concurrent traffic, not globally atomic.
| size_t vlink::MemoryPool::TierStats::block_size {0} |
Effective block size after alignment rounding.
| size_t vlink::MemoryPool::TierStats::blocks_per_chunk {0} |
Configured blocks_per_chunk for this tier.
| uint64_t vlink::MemoryPool::TierStats::chunk_count {0} |
Currently owned chunks; clear decrements by released count.
| uint64_t vlink::MemoryPool::TierStats::deallocate_count {0} |
Deallocations dispatched to this tier (resettable).
| uint64_t vlink::MemoryPool::TierStats::hit_count {0} |
Allocations dispatched to this tier (resettable).
| uint64_t vlink::MemoryPool::TierStats::in_use_blocks {0} |
Best-effort hit_count - deallocate_count.
| size_t vlink::MemoryPool::TierStats::max_size {0} |
Configured max_size for this tier.
| uint64_t vlink::MemoryPool::TierStats::upstream_alloc_bytes {0} |
Lifetime bytes of those installed chunks.
| uint64_t vlink::MemoryPool::TierStats::upstream_alloc_count {0} |
Lifetime number of chunks fully installed in this tier.