[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12892: ‘gc-stats’ w/o ‘bytes-malloced’
From: |
Andy Wingo |
Subject: |
bug#12892: ‘gc-stats’ w/o ‘bytes-malloced’ |
Date: |
Wed, 06 Mar 2013 08:00:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
On Wed 06 Mar 2013 06:51, Thien-Thi Nguyen <address@hidden> writes:
> What is the meaning of this field?
>
> It's a copy of the C global var ‘scm_mallocated’, which tracks "current
> allocation" (all malloced minus all freed).
There is no such C global var.
> We could track total allocations registered via
> scm_gc_register_allocation.
>
> Sounds complicated.
On the contrary, this function is called already for mallocations.
Andy
--
http://wingolog.org/