Re: A problem with statprof

2019-04-17 Thread Mark H Weaver
Hi, Tommi Höynälänmaa writes: > It seems that statprof gives some second counts in some other units > than seconds. I'm using guile 2.9.1. Consider the following program: > > ---cut here--- > (import (statprof)) > > (define (factorial n) >   (if (= n 0) 1 (* n (factorial (- n 1) > > (define

A problem with statprof

2019-04-17 Thread Tommi Höynälänmaa
It seems that statprof gives some second counts in some other units than seconds. I'm using guile 2.9.1. Consider the following program: ---cut here--- (import (statprof)) (define (factorial n)   (if (= n 0) 1 (* n (factorial (- n 1) (define (main args)   (statprof-reset 0 5 #t)   (st