statprof: accumulated-time is in jiffies
authorAndy Wingo <wingo@pobox.com>
Sat, 22 Feb 2014 15:31:31 +0000 (16:31 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 22 Feb 2014 15:31:31 +0000 (16:31 +0100)
commit3476a3692e52748f207ec55ef7624d85a70f0f6a
treee453eb8126fa71ca48f3fc0ccfb6fac3e913c722
parentfcd3c8ccd3ea8f8e052c8e1957cb21004c32d912
statprof: accumulated-time is in jiffies

* module/statprof.scm (fresh-profiler-state): accumulated-time and
  gc-time-taken are in jiffies, not seconds, so they are exact.
  (statprof-accumulated-time): Divide by 1.0 so that we get a flonum.

  Also refactor use of assq to get the gc-time-taken.
module/statprof.scm