unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: 12892@debbugs.gnu.org
Subject: bug#12892: ‘gc-stats’ w/o ‘bytes-malloced’
Date: Wed, 06 Mar 2013 08:00:08 +0100	[thread overview]
Message-ID: <876215nhc7.fsf@pobox.com> (raw)
In-Reply-To: <87fw09oz2w.fsf@zigzag.favinet> (Thien-Thi Nguyen's message of "Wed, 06 Mar 2013 06:51:35 +0100")

On Wed 06 Mar 2013 06:51, Thien-Thi Nguyen <ttn@gnuvola.org> 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/





  parent reply	other threads:[~2013-03-06  7:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-15  8:42 bug#12892: ‘gc-stats’ w/o ‘bytes-malloced’ Thien-Thi Nguyen
2013-03-05 17:52 ` Andy Wingo
     [not found]   ` <87fw09oz2w.fsf@zigzag.favinet>
2013-03-06  7:00     ` Andy Wingo [this message]
     [not found]       ` <87boaxotz6.fsf@zigzag.favinet>
2013-03-06 16:03         ` Andy Wingo
     [not found]           ` <87y5e0nxa0.fsf@zigzag.favinet>
2013-03-07  6:53             ` Andy Wingo
     [not found]               ` <87txono0k2.fsf@zigzag.favinet>
2013-03-07 19:21                 ` Andy Wingo
2013-03-07 20:05                   ` Thien-Thi Nguyen
2013-03-13 11:09           ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=876215nhc7.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=12892@debbugs.gnu.org \
    --cc=ttn@gnuvola.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).