Seastar
High performance C++ framework for concurrent servers
|
Describes an allocation location in the code.
The location is identified by its backtrace. One allocation_site can represent many allocations at the same location. count
and size
represent the cumulative sum of all allocations at the location. Note the size represents an extrapolated size and not the sampled one, i.e.: when looking at the total size of all allocation sites it will approximate the total memory usage
#include <seastar/core/memory.hh>
Public Member Functions | |
bool | operator== (const allocation_site &o) const |
bool | operator!= (const allocation_site &o) const |
Public Attributes | |
size_t | count = 0 |
size_t | size = 0 |
number of live objects allocated at backtrace. | |
simple_backtrace | backtrace |
amount of bytes in live objects allocated at backtrace. | |
const allocation_site * | next = nullptr |
call site for this allocation | |
const allocation_site * | prev = nullptr |