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
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.
Log in to post a comment.