statprof-active? instead of checking profile level
authorAndy Wingo <wingo@pobox.com>
Fri, 21 Feb 2014 21:12:47 +0000 (22:12 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 21 Feb 2014 21:12:47 +0000 (22:12 +0100)
commit4d0c358b4cc15977b553940e2bb57f981896afe5
treef89e7befda9fe74438aa3f6dcddf26c6faa82c42
parent4eb1fb9b8a926710a1040e483104dd8abb6f18e4
statprof-active? instead of checking profile level

* module/statprof.scm (statprof-reset, statprof-fold-call-data):
  (statprof-proc-call-data, statprof-accumulated-time):
  (statprof-sample-count): Refactor some things to use statprof-active?
  instead of checking the profile level manually.
module/statprof.scm