Re: The status of statprof

2013-09-17 Thread Andy Wingo
On Tue 17 Sep 2013 14:37, Panicz Maciej Godek writes: > So my question is: what is the status of the statprof? It's fine :) > (define (increase x) > (sleep 1) > (1+ x)) > > (begin > (statprof-reset 0 500 #t) > (statprof-start) > (let loop ((i 0)) > (if (< i 10) > (loop (increase i)) > i)) > (st

Re: The status of statprof

2013-09-17 Thread Ludovic Courtès
Panicz Maciej Godek skribis: > I've been trying to run the statprof that's > shipped with guile-2.0 with the following > code, but it reports "no samples taken". That probably means that the code being profiled runs too fast compared to the sample rate. The ‘with-statprof’ macro allows you to s

The status of statprof

2013-09-17 Thread Panicz Maciej Godek
Hi, I've been trying to run the statprof that's shipped with guile-2.0 with the following code, but it reports "no samples taken". The issue started with another project that I wanted to profile, and there it worked, but didn't count the calls (reported 0 to all of them). So I decided to see that