More state-related refactors in statprof
authorAndy Wingo <wingo@pobox.com>
Fri, 28 Feb 2014 10:27:56 +0000 (11:27 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 28 Feb 2014 16:17:46 +0000 (17:17 +0100)
commit13a977dd7916c0cf7ff98132f502167cbcde09e9
tree5b7d1ab7470ec34584b7956f44f1fa78b7a3ca02
parent3072d7624f5f675db46f338927d44c0d28b5f6a6
More state-related refactors in statprof

* module/statprof.scm (statprof-start, statprof-stop): Take optional
  state arg.
  (statprof-reset): Return no values.
  (statprof): Take port keyword arg.  Since statprof-reset is now the
  same as parameterizing profiler-state, there's no need to call
  statprof-reset.  Pass the state argument explicitly to statprof-start,
  statprof-stop, and statprof-display.
module/statprof.scm