TIME(%) always yields 0.0.
The cause is that TIME (suprv1.lisp) returns the value
of LASTTIME when the TIME argument is %. However
LASTTIME is assigned 0 and never assigned anything
else; LASTTIME appears to be obsolete, and it is unused
except for this reference in TIME.
TIME uses the 'TIME property of output labels to fetch
the computation time. % isn't assigned the 'TIME
property, so presumably that's why TIME was asking for
LASTTIME.
Let's not resurrect LASTTIME. Instead let's (1) assign
% the 'TIME property (search for "putprop d-tag" in
macsys.lisp) to find the place to do it); and (2) cut
out the special case for % in TIME.
The suggested change to store the computation time in the symbol '$% has been checked out (rev. 1.74, macsys.lisp). The variable $lasttime has been cut out (rev. 1.80, suprv1.lisp).
Closing this bug report as fixed.
Dieter Kaiser