computation time information




> -----Original Message-----
> From: maxima-bounces at math.utexas.edu [mailto:maxima-
> bounces at math.utexas.edu] On Behalf Of Eric Reyssat
> Sent: Wednesday, December 20, 2006 8:02 AM
> To: fateman at cs.berkeley.edu
> Cc: maxima at math.utexas.edu
> Subject: Re: [Maxima] computation time information
Try putting the timing command in the batch file. E.g. something like

 
 test(n):=(
 with_stdout("tmp.out", 
 for i thru n do print("f(",i,");"),

print ("apply(time,labels(TT))")),


 batch("tmp.out")
);
 
> test(10);
> 


Alternatively, you can avoid all these "convenient tools" and periodically
inquire about the time used by lisp so far.  This should be available in any
lisp, and should be accessible by doing something like
Time_so_far :  ?get\-internal\-run\-time();

Have fun.
RJF