GNU bug report logs - #48847
statprof does not print call counts

Previous Next

Package: guile;

Reported by: Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>

Date: Sat, 5 Jun 2021 12:28:01 UTC

Severity: normal

To reply to this bug, email your comments to 48847 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#48847; Package guile. (Sat, 05 Jun 2021 12:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sat, 05 Jun 2021 12:28:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: statprof does not print call counts
Date: Sat, 5 Jun 2021 15:27:00 +0300
[Message part 1 (text/plain, inline)]
Guile version: 3.0.7.6-22120-dirty

Statprof profiler does not print call counts even though you specify 
"#:count-calls? #t" in the argument list.

Steps to reproduce:

1. Copy the following program to file test.scm:

---cut here---

(use-modules (statprof))
(statprof (lambda ()
            (map 1+ (iota 1000000))
            #f)
      #:count-calls? #t)

---cut here---

2. Run command "guile -s test.scm".

Expected output:

The program should print profiling output with the call counts.

Actual output:

The profiling output is printed but the call counts are not.

     - Tommi Höynälänmaa


[OpenPGP_0xBB861FDE40460F83.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 3 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.