]> granicus.if.org Git - gc/commit
New API function (get_size_map_at) to get content of size_map table
authorIvan Maidanski <ivmai@mail.ru>
Wed, 14 Feb 2018 08:48:57 +0000 (11:48 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 14 Feb 2018 08:48:57 +0000 (11:48 +0300)
commit9468065bc9e5955c930e7b5e6e00c6b1b77fa468
treec38a6f866fd3df13f0f21257bb7f2e87599729f3
parent246ad410e58674598ceb50fbfd39746f2e9902e9
New API function (get_size_map_at) to get content of size_map table

* include/gc.h (GC_get_size_map_at): Declare public function.
* misc.c [!GC_GET_HEAP_USAGE_NOT_NEEDED] (GC_get_size_map_at):
Implement function
* tests/test.c [!GC_GET_HEAP_USAGE_NOT_NEEDED] (check_heap_stats):
Add dummy testing of GC_get_size_map_at.
include/gc.h
misc.c
tests/test.c