mirror of https://github.com/ARMmbed/mbed-os.git
Nanostack dynamic memory tracker tracks memory allocations. It has following interface: ns_dyn_mem_tracker_lib_alloc: is called on alloc ns_dyn_mem_tracker_lib_free: is called on free ns_dyn_mem_tracker_lib_step: updates the lifetime of individual memory blocks (is used to detected which blocks are permanent and which have been allocated lately) ns_dyn_mem_tracker_lib_allocator_lists_update: updates allocator lists, there are lists for top allocators, permanent allocators and allocators going to permanent allocators list ns_dyn_mem_tracker_lib_max_snap_shot_update: can be used to update memory maximum usage snap shot, this can be called on alloc if snap shot is needed |
||
---|---|---|
.. | ||
nsdynmemLIB.c |