From ec8fb347ed4344483bd6105c47e07ea847e7e586 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 7 Apr 2019 00:10:22 -0400 Subject: [PATCH] document CONFIG_STATS --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 69ba334..10d5c1a 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,9 @@ for the chosen values are not written yet, so use them at your own peril: * `CONFIG_CLASS_REGION_SIZE`: `34359738368` (default) to control the size of the size class regions * `CONFIG_N_ARENA`: `1` (default) to control the number of arenas +* `CONFIG_STATS`: `false` (default) to control whether stats on allocation / + deallocation count and active allocations are tracked. This is currently only + exposed via the mallinfo APIs on Android. There will be more control over enabled features in the future along with control over fairly arbitrarily chosen values like the size of empty slab