18#include "pw_allocator/metrics.h"
22#ifndef PW_MALLOC_LOCK_TYPE
27#include "pw_allocator/synchronized_allocator.h"
28#define PW_MALLOC_LOCK_TYPE ::pw::allocator::NoSync
31#ifndef PW_MALLOC_METRICS_TYPE
35#include "pw_allocator/tracking_allocator.h"
36#define PW_MALLOC_METRICS_TYPE ::pw::allocator::NoMetrics
38#elif defined(PW_MALLOC_METRICS_INCLUDE)
41#include PW_MALLOC_METRICS_INCLUDE
45#ifndef PW_MALLOC_BLOCK_OFFSET_TYPE
53#define PW_MALLOC_BLOCK_OFFSET_TYPE uintptr_t
56#ifndef PW_MALLOC_MIN_BUCKET_SIZE
63#define PW_MALLOC_MIN_BUCKET_SIZE 32
67 "PW_MALLOC_MIN_BUCKET_SIZE must be a power of two");
69#ifndef PW_MALLOC_NUM_BUCKETS
76#define PW_MALLOC_NUM_BUCKETS 5
79#ifndef PW_MALLOC_DUAL_FIRST_FIT_THRESHOLD
86#define PW_MALLOC_DUAL_FIRST_FIT_THRESHOLD 2048
#define PW_MALLOC_MIN_BUCKET_SIZE
Definition: config.h:63