Subject: Re: bug#12892: ‘gc-stats’ w/o‘bytes-malloced’

From: Andy Wingo <[email-masked]>
Date: Wed, 06 Mar 2013 08:00:08 +0100

On Wed 06 Mar 2013 06:51, Thien-Thi Nguyen <[email-masked]> 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/