|
SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
Snapshot of allocator statistics. More...
#include <stk_c_memory.h>
Public Attributes | |
| size_t | capacity |
| Total capacity in bytes. | |
| size_t | allocated |
| Bytes currently allocated. | |
| size_t | peak_allocated |
| High watermark of allocated bytes. | |
| size_t | allocate_count |
| Number of successful allocations. | |
| size_t | free_count |
| Number of successful frees. | |
| size_t | alloc_fail_count |
| Number of allocation requests that could not be satisfied. | |
| size_t | min_ever_free |
| Minimum free bytes recorded since the start (watermark). | |
Snapshot of allocator statistics.
stk::memory::MemoryAllocator::Stats. Byte counters of pools are in bytes (BlockMemoryPool: blocks * block size; BytePool: used blocks including their headers). Definition at line 315 of file stk_c_memory.h.
| size_t stk_mem_stats_t::alloc_fail_count |
Number of allocation requests that could not be satisfied.
Definition at line 322 of file stk_c_memory.h.
| size_t stk_mem_stats_t::allocate_count |
Number of successful allocations.
Definition at line 320 of file stk_c_memory.h.
| size_t stk_mem_stats_t::allocated |
Bytes currently allocated.
Definition at line 318 of file stk_c_memory.h.
| size_t stk_mem_stats_t::capacity |
Total capacity in bytes.
Definition at line 317 of file stk_c_memory.h.
| size_t stk_mem_stats_t::free_count |
Number of successful frees.
Definition at line 321 of file stk_c_memory.h.
| size_t stk_mem_stats_t::min_ever_free |
Minimum free bytes recorded since the start (watermark).
Definition at line 323 of file stk_c_memory.h.
| size_t stk_mem_stats_t::peak_allocated |
High watermark of allocated bytes.
Definition at line 319 of file stk_c_memory.h.