Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Public Attributes | List of all members
seastar::memory::allocation_site Struct Reference

Detailed Description

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_sitenext = nullptr
 call site for this allocation
 
const allocation_siteprev = nullptr
 

The documentation for this struct was generated from the following file: