[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48847: statprof does not print call counts

From: Tommi Höynälänmaa
Subject: bug#48847: statprof does not print call counts
Date: Sat, 5 Jun 2021 15:27:00 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

Guile version:

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))
      #: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: OpenPGP_0xBB861FDE40460F83.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]