statprof avoids mucking with VM trace levels when not counting calls
authorAndy Wingo <wingo@pobox.com>
Mon, 14 Apr 2014 15:06:05 +0000 (17:06 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 14 Apr 2014 15:06:05 +0000 (17:06 +0200)
commitda169db26ae3ac4c2440b1fcb678cfd18392c5aa
treea2ff621ab274fa571a05043f08248306cf78b577
parenta234ab929c65f0627a38131ad6c42f16b3aeae9c
statprof avoids mucking with VM trace levels when not counting calls

* module/statprof.scm (statprof-start, statprof-stop): Don't futz the vm
  trace level when we aren't counting calls.  With this change, statprof
  now imposes no overhead on the measured program.
module/statprof.scm