[comp.lang.lisp] Timeing functions in Lucid Common Lisp?

gt@uk.ac.cam.cl (Graham Titmus) (05/24/88)

We need to time some evaluations within Lucid Common Lisp running on a SUN
3.  The existing Common Lisp functions return a time which also contains
time spent garbage collecting.  Is there a way of getting the garbage
collection time as a seperate figure to the actual time spend evaluating
the expressions? 

We have tried advising gc but nasty things happen sometimes when called
from other than the top level e.g.

(defadvice (gc gctiming) nil (advice-continue))

sometimes gives

WARNING: A serious error has occurred in the garbage collector.
You will probably lose this session.

WARNING: The stack overflowed and was increased by #x10000 bytes.