* gc.c (scm_gc_stats): add more obscure stats, such as: mark time,
authorMichael Livshin <mlivshin@bigfoot.com>
Wed, 16 Aug 2000 00:23:18 +0000 (00:23 +0000)
committerMichael Livshin <mlivshin@bigfoot.com>
Wed, 16 Aug 2000 00:23:18 +0000 (00:23 +0000)
commitc9b0d4b0903084a7b0ac3637a1d79cbd9e546be1
tree0588847156589667134407f89a42bc6616d0173e
parentd6f3775530da66e03a927d56022551f867adf933
* gc.c (scm_gc_stats): add more obscure stats, such as: mark time,
sweep time, total marked cells, total swept cells, and number of
times GC was invoked.
(gc_start_stats): renamed from scm_gc_start, made static, taught
to init the new stats.
(gc_end_stats): renamed from scm_gc_end, made static, taught to
calculate the new stats.
(scm_igc): don't call gc_start_stats unless we are sure that we
are indeed going to collect.  also, added some timekeeping between
the mark and sweep phases.
(scm_gc_sweep): count number of cells we sweep as we go.

* gc.h: removed prototypes for scm_gc_{start,end}.
libguile/gc.c
libguile/gc.h