From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#12892: =?UTF-8?Q?=E2=80=98gc-stats=E2=80=99?= w/o =?UTF-8?Q?=E2=80=98bytes-malloced=E2=80=99?= Date: Tue, 05 Mar 2013 18:52:09 +0100 Message-ID: <87wqtlspiu.fsf@pobox.com> References: <87pq3fmf4b.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362509711 31757 80.91.229.3 (5 Mar 2013 18:55:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Mar 2013 18:55:11 +0000 (UTC) Cc: 12892@debbugs.gnu.org To: Thien-Thi Nguyen Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Mar 05 19:55:35 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UCx1S-0008B2-3b for guile-bugs@m.gmane.org; Tue, 05 Mar 2013 19:55:34 +0100 Original-Received: from localhost ([::1]:38624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCx16-0002SE-Du for guile-bugs@m.gmane.org; Tue, 05 Mar 2013 13:55:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCx0n-00020i-Qx for bug-guile@gnu.org; Tue, 05 Mar 2013 13:55:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCx0e-0002us-24 for bug-guile@gnu.org; Tue, 05 Mar 2013 13:54:53 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCx0d-0002uo-VC for bug-guile@gnu.org; Tue, 05 Mar 2013 13:54:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UCx0z-0000a5-CW for bug-guile@gnu.org; Tue, 05 Mar 2013 13:55:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 05 Mar 2013 18:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12892 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 12892-submit@debbugs.gnu.org id=B12892.13625096912171 (code B ref 12892); Tue, 05 Mar 2013 18:55:05 +0000 Original-Received: (at 12892) by debbugs.gnu.org; 5 Mar 2013 18:54:51 +0000 Original-Received: from localhost ([127.0.0.1]:32852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCx0k-0000Yt-HJ for submit@debbugs.gnu.org; Tue, 05 Mar 2013 13:54:51 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:40159 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCx0f-0000Yd-2D for 12892@debbugs.gnu.org; Tue, 05 Mar 2013 13:54:48 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 510B6BFBA; Tue, 5 Mar 2013 13:54:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=Mp3Lnua5Jze4 Sg0wT60ES1JAtDY=; b=Xz0kYnr4vgmp36UGxJlMFGELC8qGh9bigEuGgt7W8HLq c6i+qSSefLiitptojFJVmkE3jY7yuIwUuAbipq6r1Ww7cJx8eOugiyWItdxXB5F4 DGb91S7bwwyTg/UDjKq8Bkku2UTqTmG0CQsgMgfN1YNWLPkCS154bGasbV7LKuA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=gUBdEP coE9SMdRI1BSkDPV//PUyi6zZ4tod8oDcHKlKbz+kexDVDpIvKjMi3pNPumOUcLi sDJHxW9PqutIG+2N+kvgl2LTzQQwf7NuXJwMzJm1qzmSRBieIaozDdDiLpRt6jLx xs5Rji4MpY21LYfz3IHpwXR2r33k36B7wxknE= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 49246BFB9; Tue, 5 Mar 2013 13:54:23 -0500 (EST) Original-Received: from badger (unknown [217.91.84.86]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id B1CB9BFB8; Tue, 5 Mar 2013 13:54:22 -0500 (EST) In-Reply-To: <87pq3fmf4b.fsf@zigzag.favinet> (Thien-Thi Nguyen's message of "Thu, 15 Nov 2012 09:42:28 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 1815855E-85C6-11E2-9314-59240E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6844 Archived-At: On Thu 15 Nov 2012 09:42, Thien-Thi Nguyen writes: > In pre-2.x Guile, =E2=80=98gc-stats=E2=80=99 returns an alist w/ keys: > > gc-time-taken > cells-allocated > total-cells-allocated > cell-heap-size > bytes-malloced > gc-malloc-threshold > gc-times > gc-mark-time-taken > cells-marked > cells-swept > malloc-yield > cell-yield > protected-objects > cell-heap-segments > > In Guile 2.0.6, the keys are now: > > gc-time-taken > heap-size > heap-free-size > heap-total-allocated > heap-allocated-since-gc > protected-objects gc-times > > I think the NEWS should mention this change and the documentation should > summarize what the fields mean. The specifics of this interface were never documented, so there's no regression. For that reason I would not add to NEWS at this point, but documentation would be nice. Patches gladly accepted :) > Practically speaking, i am interested mostly in the 2.x equivalent for > pre-2.x =E2=80=98bytes-malloced=E2=80=99, as its lack causes Guile-SDL to= fail "make > check DEBUG=3D1": What is the meaning of this field? We could track total allocations registered via scm_gc_register_allocation. Regards, Andy --=20 http://wingolog.org/