Seastar
High performance C++ framework for concurrent servers
|
Memory allocation statistics.
#include <seastar/core/memory.hh>
Public Member Functions | |
uint64_t | mallocs () const |
Total number of memory allocations calls since the system was started. | |
uint64_t | frees () const |
Total number of memory deallocations calls since the system was started. | |
uint64_t | cross_cpu_frees () const |
size_t | live_objects () const |
Total number of objects which were allocated but not freed. | |
size_t | free_memory () const |
Total free memory (in bytes) | |
size_t | allocated_memory () const |
Total allocated memory (in bytes) | |
size_t | total_memory () const |
Total memory (in bytes) | |
uint64_t | reclaims () const |
Number of reclaims performed due to low memory. | |
uint64_t | large_allocations () const |
Number of allocations which violated the large allocation threshold. | |
uint64_t | failed_allocations () const |
uint64_t | foreign_mallocs () const |
Number of foreign allocations. | |
uint64_t | foreign_frees () const |
Number of foreign frees. | |
uint64_t | foreign_cross_frees () const |
Number of foreign frees on reactor threads. | |
|
inline |
Total number of memory deallocations that occured on a different lcore than the one on which they were allocated.
|
inline |
Number of allocations which failed, i.e., where the required memory could not be obtained even after reclaim was attempted