mbed-os/features/frameworks/nanostack-libservice
Mika Leppänen a9746a563a Added extended block list to dynamic memory tracker
If same allocator (alloc call) allocates multiple dynamic memory blocks,
the additional blocks are added to extended memory block list, and
the allocator list reference count and total sizes are increased.
When statistics are calculated, it is only needed to process the
allocator list, not the whole memory block list.

Added also optional hash function to calculate the (start) index where
memory block information is stored on extended memory block list. Hash
is calculated from memory block address.

It is expected that hash distributes the free index searches evenly
to whole memory area allocated for extended memory block list. So if
area is large enough, in most cases the index pointed by the hash, or
the index few indexes from that, should be empty and available for use.
Similarly, when memory block is freed, the search for the block on
the extended memory block list, starts from the index pointed by the
hash.

If hash is not used, extended memory block list searches start always
from index 0.
2020-11-18 17:31:41 +02:00
..
mbed-client-libservice Added extended block list to dynamic memory tracker 2020-11-18 17:31:41 +02:00
source Added extended block list to dynamic memory tracker 2020-11-18 17:31:41 +02:00
test/libService/unittest Merge commit '8730005927c6e12a78957c2eda92dc5a9698cdea' into nanostack_libservice_update 2019-07-05 10:44:37 +03:00
.gitignore Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
.mbedignore Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
.yotta_ignore Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
LICENSE Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
Makefile Added nanostack dynamic memory tracker and hooks to dynmem library 2020-11-16 10:20:36 +02:00
README.md Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
apache-2.0.txt Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
mbed_lib.json Added nanostack dynamic memory tracker and hooks to dynmem library 2020-11-16 10:20:36 +02:00

README.md

mbed-client-libservice module

Collection of helper libraries for mbed-client and 6LowPAN/IPv6/RPL/MLE/Thread stack.