|
Container System 0.1.0
High-performance C++20 type-safe container framework with SIMD-accelerated serialization
|
Extended pool statistics with hit/miss tracking. More...
#include <pool_allocator.h>

Public Member Functions | |
| double | hit_rate () const noexcept |
Public Attributes | |
| std::size_t | pool_hits {0} |
| std::size_t | pool_misses {0} |
| std::size_t | small_pool_allocs {0} |
| std::size_t | medium_pool_allocs {0} |
| std::size_t | deallocations {0} |
Extended pool statistics with hit/miss tracking.
Definition at line 42 of file pool_allocator.h.
|
inlinenoexcept |
Definition at line 49 of file pool_allocator.h.
References pool_hits, and pool_misses.
| std::size_t kcenon::container::internal::pool_allocator_stats::deallocations {0} |
Definition at line 47 of file pool_allocator.h.
Referenced by kcenon::container::internal::pool_allocator::deallocate().
| std::size_t kcenon::container::internal::pool_allocator_stats::medium_pool_allocs {0} |
Definition at line 46 of file pool_allocator.h.
Referenced by kcenon::container::internal::pool_allocator::allocate().
| std::size_t kcenon::container::internal::pool_allocator_stats::pool_hits {0} |
Definition at line 43 of file pool_allocator.h.
Referenced by kcenon::container::internal::pool_allocator::allocate(), and hit_rate().
| std::size_t kcenon::container::internal::pool_allocator_stats::pool_misses {0} |
Definition at line 44 of file pool_allocator.h.
Referenced by kcenon::container::internal::pool_allocator::allocate(), and hit_rate().
| std::size_t kcenon::container::internal::pool_allocator_stats::small_pool_allocs {0} |
Definition at line 45 of file pool_allocator.h.
Referenced by kcenon::container::internal::pool_allocator::allocate().