summaryrefslogtreecommitdiff
path: root/mallocx.c
diff options
context:
space:
mode:
Diffstat (limited to 'mallocx.c')
-rw-r--r--mallocx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mallocx.c b/mallocx.c
index 242804a6..6440311d 100644
--- a/mallocx.c
+++ b/mallocx.c
@@ -259,6 +259,11 @@ GC_API void GC_CALL GC_incr_bytes_freed(size_t n)
GC_bytes_freed += n;
}
+GC_API size_t GC_CALL GC_get_expl_freed_bytes_since_gc(void)
+{
+ return (size_t)GC_bytes_freed;
+}
+
# ifdef PARALLEL_MARK
STATIC volatile AO_t GC_bytes_allocd_tmp = 0;
/* Number of bytes of memory allocated since */