Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
memusage.h
Go to the documentation of this file.
159 return MallocUsage(sizeof(unordered_node<X>)) * s.size() + MallocUsage(sizeof(void*) * s.bucket_count());
165 return MallocUsage(sizeof(unordered_node<std::pair<const X, Y> >)) * m.size() + MallocUsage(sizeof(void*) * m.bucket_count());
Definition: memusage.h:65
static size_t DynamicUsage(const int8_t &v)
Dynamic memory usage for built-in types is zero.
Definition: memusage.h:27
Definition: memusage.h:20
Definition: memusage.h:150
Implements a drop-in replacement for std::vector<T> which stores up to N elements directly (without h...
Definition: prevector.h:39
static size_t MallocUsage(size_t alloc)
Compute the total memory used by allocating alloc bytes.
Definition: memusage.h:48
Definition: indirectmap.h:22
static size_t IncrementalDynamicUsage(const std::set< X, Y > &s)
Definition: memusage.h:103