mbed-os/features/frameworks/nanostack-libservice/source
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
..
IPv6_fcf_lib Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
libBits Merge commit 'd53d1dffb7405776dd84fa24a2eec7c18f445fed' 2019-02-25 13:00:32 +02:00
libList Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
libTrace/scripts Get rid of FEATURE_COMMON_PAL 2018-04-27 14:38:43 +03:00
libip4string Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511 2018-11-10 20:14:25 +02:00
libip6string Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511 2018-11-10 20:14:25 +02:00
nsdynmemLIB Added nanostack dynamic memory tracker and hooks to dynmem library 2020-11-16 10:20:36 +02:00
nsdynmemtracker Added extended block list to dynamic memory tracker 2020-11-18 17:31:41 +02:00
nvmHelper Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511 2018-11-10 20:14:25 +02:00