But how con you get the time of execution in a variable?

On Jul 2, 10:33 am, William Stein <wst...@gmail.com> wrote:
> On Thu, Jul 2, 2009 at 1:31 PM, pang<pablo.ang...@uam.es> wrote:
>
> > Watch also for "cputime"  and  "walltime", which are very general and
> > easy to use. Sometimes "time" and "timeit" are not convenient to use
> > if you have more than one statement.
>
> One nice trick:  If you're in the notebook and you put
>
> %time
>
> as the first line of a notebook cell, then the entire block of code is timed.
>
> William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to