statprof bugfixes
authorAndy Wingo <wingo@pobox.com>
Wed, 27 Jan 2010 20:52:05 +0000 (21:52 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 27 Jan 2010 20:52:05 +0000 (21:52 +0100)
commit663212bbc66b616cca9ba55d9992e2fb339d8250
tree003e3a1eb247e201bfae9ebffbd82fefacc06dfe
parentd27a7811db7947bb9bba536303702c8906219165
statprof bugfixes

* module/statprof.scm (get-call-data): For closures, get call data by
  the program's objcode.
  (statprof-start, statprof-stop): Fix bug in which all statprof runs
  were enabling the apply hook regardless of the setting of
  #:count-calls?. The result was distorted timings, where procedure
  calls were unfairly penalized.
  (procedure=?): Streamline.
module/statprof.scm