Re: How can I display the total time ?
- To: mathgroup at smc.vnet.net
- Subject: [mg26408] Re: How can I display the total time ?
- From: Alan <kd7cyb at mac.com>
- Date: Wed, 20 Dec 2000 00:21:33 -0500 (EST)
- References: <email@example.com>
- Sender: owner-wri-mathgroup at wolfram.com
There is no function for determining the time a function needs without
evaluating that function first. Try to use the Timing function where
you place your code you wish to time between the brackets and it will
return your output along with the time in seconds it took to evaluate.
SessionTime is a function that tells how long Mathematica has been
running since it was last started, TimeConstrained[f,s] only allows the
function f to evaluate an s number of seconds, and TimeUsed displays
the total CPU time during a Mathematica session.
I hopes this helps, but if not, reply,
liwen liwen wrote:
> I want to know the total time that running a
> routine needs,what should I set the setting?Please
> Liwen 12/11/2000
> E-mail: gzgear at yahoo.com
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
Prev by Date:
J/Link trouble on Win2000
Next by Date:
Re:Pattern match exactly 0 or 1 times?
Previous by thread:
RE: How can I display the total time ?
Next by thread:
Best fit surface