diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-04-14 19:49:55 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-04-14 19:49:55 +0200 |
| commit | beee27dec06d59898e0e71d12a9d77e9d15d8e61 (patch) | |
| tree | 2bcfbb64905de7aaa32aeb33342439348deae167 /src/exact_value.cpp | |
| parent | 66d99c1be39cb1d20003c56e02d26795fb6e0cea (diff) | |
Allow `core:mem/tlsf` to automatically add new pools.
New features:
- If TLSF can't service an allocation made on it, and it's initialized with `new_pool_size` > 0, it will ask the backing allocator for additional memory.
- `estimate_pool_size` can tell you what size your initial (and `new_pool_size`) ought to be if you want to make `count` allocations of `size` and `alignment`, or in its other form, how much backing memory is needed for `count` allocations of `type` and its corresponding size and alignment.
Diffstat (limited to 'src/exact_value.cpp')
0 files changed, 0 insertions, 0 deletions