> As far as I can tell cputime() is a sage function. Grepping for it
> found lots of use of the function, but if someone could point me to
> the right place where it is implemented I can investigate further.

The implementation is

def cputime(t=0):
    try:
        t = float(t)
    except TypeError:
        t = 0.0
    return time.clock() - t

and is located in sage.misc.misc. You can find it by typing cputime? or 
cputime?? on the SAGE prompt.

Martin


-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to