LLVM 20.0.0git
|
#include "Support/rpmalloc/rpmalloc.h"
Public Attributes | |
size_t | sizecache |
Current number of bytes available in thread size class caches for small and medium sizes (<32KiB) | |
size_t | spancache |
Current number of bytes available in thread span caches for small and medium sizes (<32KiB) | |
size_t | thread_to_global |
Total number of bytes transitioned from thread cache to global cache (only if ENABLE_STATISTICS=1) | |
size_t | global_to_thread |
Total number of bytes transitioned from global cache to thread cache (only if ENABLE_STATISTICS=1) | |
struct { | |
size_t current | |
Currently used number of spans. More... | |
size_t peak | |
High water mark of spans used. More... | |
size_t to_global | |
Number of spans transitioned to global cache. More... | |
size_t from_global | |
Number of spans transitioned from global cache. More... | |
size_t to_cache | |
Number of spans transitioned to thread cache. More... | |
size_t from_cache | |
Number of spans transitioned from thread cache. More... | |
size_t to_reserved | |
Number of spans transitioned to reserved state. More... | |
size_t from_reserved | |
Number of spans transitioned from reserved state. More... | |
size_t map_calls | |
Number of raw memory map calls (not hitting the reserve spans but resulting in actual OS mmap calls) More... | |
} | span_use [64] |
Per span count statistics (only if ENABLE_STATISTICS=1) | |
struct { | |
size_t alloc_current | |
Current number of allocations. More... | |
size_t alloc_peak | |
Peak number of allocations. More... | |
size_t alloc_total | |
Total number of allocations. More... | |
size_t free_total | |
Total number of frees. More... | |
size_t spans_to_cache | |
Number of spans transitioned to cache. More... | |
size_t spans_from_cache | |
Number of spans transitioned from cache. More... | |
size_t spans_from_reserved | |
Number of spans transitioned from reserved state. More... | |
size_t map_calls | |
Number of raw memory map calls (not hitting the reserve spans but resulting in actual OS mmap calls) More... | |
} | size_use [128] |
Per size class statistics (only if ENABLE_STATISTICS=1) | |
Definition at line 99 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::alloc_current |
Current number of allocations.
Definition at line 137 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::alloc_peak |
Peak number of allocations.
Definition at line 139 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::alloc_total |
Total number of allocations.
Definition at line 141 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::current |
Currently used number of spans.
Definition at line 115 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::free_total |
Total number of frees.
Definition at line 143 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::from_cache |
Number of spans transitioned from thread cache.
Definition at line 125 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::from_global |
Number of spans transitioned from global cache.
Definition at line 121 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::from_reserved |
Number of spans transitioned from reserved state.
Definition at line 129 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::global_to_thread |
Total number of bytes transitioned from global cache to thread cache (only if ENABLE_STATISTICS=1)
Definition at line 111 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::map_calls |
Number of raw memory map calls (not hitting the reserve spans but resulting in actual OS mmap calls)
Definition at line 132 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::peak |
High water mark of spans used.
Definition at line 117 of file rpmalloc.h.
struct { ... } rpmalloc_thread_statistics_t::size_use[128] |
Per size class statistics (only if ENABLE_STATISTICS=1)
size_t rpmalloc_thread_statistics_t::sizecache |
Current number of bytes available in thread size class caches for small and medium sizes (<32KiB)
Definition at line 102 of file rpmalloc.h.
struct { ... } rpmalloc_thread_statistics_t::span_use[64] |
Per span count statistics (only if ENABLE_STATISTICS=1)
size_t rpmalloc_thread_statistics_t::spancache |
Current number of bytes available in thread span caches for small and medium sizes (<32KiB)
Definition at line 105 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::spans_from_cache |
Number of spans transitioned from cache.
Definition at line 147 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::spans_from_reserved |
Number of spans transitioned from reserved state.
Definition at line 149 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::spans_to_cache |
Number of spans transitioned to cache.
Definition at line 145 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::thread_to_global |
Total number of bytes transitioned from thread cache to global cache (only if ENABLE_STATISTICS=1)
Definition at line 108 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::to_cache |
Number of spans transitioned to thread cache.
Definition at line 123 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::to_global |
Number of spans transitioned to global cache.
Definition at line 119 of file rpmalloc.h.
size_t rpmalloc_thread_statistics_t::to_reserved |
Number of spans transitioned to reserved state.
Definition at line 127 of file rpmalloc.h.