]> granicus.if.org Git - gc/commit
New field (expl_freed_bytes_since_gc) in public prof_stats_s
authorIvan Maidanski <ivmai@mail.ru>
Thu, 11 Jan 2018 22:08:37 +0000 (01:08 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 11 Jan 2018 22:08:37 +0000 (01:08 +0300)
commit5d9cc38c21156ad4aaf4f7c22bd997038ff11c37
tree25113da63183029512da3999c94f7c8a14bff9df
parentc3fb80019f9df0f14528cddddbafa277fb4149f2
New field (expl_freed_bytes_since_gc) in public prof_stats_s

* include/gc.h (GC_prof_stats_s): Add expl_freed_bytes_since_gc field
(to the end of the structure).
* misc.c [!GC_GET_HEAP_USAGE_NOT_NEEDED] (fill_prof_stats): Store
GC_bytes_freed value to pstats->expl_freed_bytes_since_gc.
include/gc.h
misc.c