|
pbr-cpp-memory-pool 1.1.2
Fixed-block-size O(1) memory pool — C++17 with an ANSI C public surface
|
Copyable snapshot of an InstrumentedPool's counters (ADR-0025 §2).
More...
#include <instrumented_pool.hpp>
Public Attributes | |
| std::size_t | allocations_ |
| successful allocations | |
| std::size_t | deallocations_ |
| deallocate calls with a non-null block | |
| std::size_t | allocation_failures_ |
| allocate/try_allocate that found the pool exhausted | |
| std::size_t | live_ |
| currently outstanding blocks | |
| std::size_t | peak_live_ |
high-water mark of live_ | |
Copyable snapshot of an InstrumentedPool's counters (ADR-0025 §2).
A plain value type returned by InstrumentedPool::stats(). Members carry the project's trailing-underscore suffix even though it is a public aggregate.
Definition at line 49 of file instrumented_pool.hpp.
| std::size_t it::d4np::memorypool::PoolStats::allocations_ |
successful allocations
Definition at line 50 of file instrumented_pool.hpp.
| std::size_t it::d4np::memorypool::PoolStats::deallocations_ |
deallocate calls with a non-null block
Definition at line 51 of file instrumented_pool.hpp.
| std::size_t it::d4np::memorypool::PoolStats::allocation_failures_ |
allocate/try_allocate that found the pool exhausted
Definition at line 52 of file instrumented_pool.hpp.
| std::size_t it::d4np::memorypool::PoolStats::live_ |
currently outstanding blocks
Definition at line 53 of file instrumented_pool.hpp.
| std::size_t it::d4np::memorypool::PoolStats::peak_live_ |
high-water mark of live_
Definition at line 54 of file instrumented_pool.hpp.