Hi Kannappan,

On 2013-12-21, Kannappan Sampath <kntri...@gmail.com> wrote:
> I'd like to know how to get some idea on the runtime of a certain program.
> In particular, I'd like to know the following:
>
> how to run the program for various values of input, say parametrised by the
> set of positive integers and extract the cpu time required for the
> computation.

Is the "cputime" function what you are looking for? As usual, you can
see the documentation of it by
  sage: cputime?<hit return>

Note that this will give you the cputime of the Sage process. In some
applications, stand-alone programs such as Singular or Gap or Maxima or
(if available) Magma will be invoked. cputime would not give you the
cpu-time of these sub-processes.

Best regards,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to