unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#48847: statprof does not print call counts
@ 2021-06-05 12:27 Tommi Höynälänmaa
  0 siblings, 0 replies; only message in thread
From: Tommi Höynälänmaa @ 2021-06-05 12:27 UTC (permalink / raw)
  To: 48847


[-- Attachment #1.1.1: Type: text/plain, Size: 637 bytes --]

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



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3199 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-05 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05 12:27 bug#48847: statprof does not print call counts Tommi Höynälänmaa

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).