DrSchemeを使用して関数のプロファイルを作成するにはどうすればよいですか?
(require profile)
(define (factorial n)
(cond
((= n 1) 1)
(else (* n (factorial (- n 1))))))
(profile factorial)
上記のコードは
Profiling results
-----------------
Total cpu time observed: 0ms (out of 0ms)
Number of samples taken: 0 (once every 0ms)
====================================
Caller
Idx Total Self Name+srcLocal%
ms(pct) ms(pct) Callee
====================================
>
私は試しました:-(プロファイル(階乗100))
-(プロファイル階乗)(階乗100)
しかし、同じ結果が得られます。私は何が間違っているのですか?