aboutsummaryrefslogtreecommitdiff
path: root/py/gc.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-01 00:09:55 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-01 00:09:55 +0300
commit749cbaca7f5406e23bbf0009477c73e14fa8a9ff (patch)
tree44a3963630c395acf1993e0b0c3b159c837087df /py/gc.h
parent35962eaab05bc4c1d17e4f0f568706ba8df4de51 (diff)
py/gc: Calculate (and report) maximum contiguous free block size.
Just as maximum allocated block size, it's reported in allocation units (not bytes).
Diffstat (limited to 'py/gc.h')
-rw-r--r--py/gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/gc.h b/py/gc.h
index e790c34ac..7d8fe2bf8 100644
--- a/py/gc.h
+++ b/py/gc.h
@@ -54,6 +54,7 @@ typedef struct _gc_info_t {
size_t total;
size_t used;
size_t free;
+ size_t max_free;
size_t num_1block;
size_t num_2block;
size_t max_block;