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

Full log


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 4 years and 9 days ago.

Previous Next


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