Pigweed
 
Loading...
Searching...
No Matches
pw::allocator::TlsfDefaults Struct Reference

#include <tlsf_allocator.h>

Static Public Attributes

static constexpr size_t kMinSize = 64
 
static constexpr size_t kNumShelves = 10
 

Detailed Description

Default values for the template parameters of TlsfAllocator.

By default, this is tuned for allocations between 64B and 64KB.

Member Data Documentation

◆ kMinSize

constexpr size_t pw::allocator::TlsfDefaults::kMinSize = 64
staticconstexpr

Default maximum inner size of the smallest bucket in a TLSF allocator's two-dimensional array of buckets.

◆ kNumShelves

constexpr size_t pw::allocator::TlsfDefaults::kNumShelves = 10
staticconstexpr

Default number of rows in a TLSF allocator's two-dimensional array of buckets.


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