Re: [cython-users] Re: [sage-devel] Cython cpu time

2010-07-15 Thread Ondrej Certik
On Thu, Jul 15, 2010 at 12:57 AM, Fernando Perez wrote: > On Wed, Jul 14, 2010 at 11:54 PM, Ondrej Certik wrote: >> I hope he is. I haven't seen any patches since 2009-03-13 and it >> segfaulted my code, but I fixed it and sent him the patches. (I pulled >> his repo using hg-git, and pushed into

Re: [cython-users] Re: [sage-devel] Cython cpu time

2010-07-15 Thread Fernando Perez
On Wed, Jul 14, 2010 at 11:54 PM, Ondrej Certik wrote: > I hope he is. I haven't seen any patches since 2009-03-13 and it > segfaulted my code, but I fixed it and sent him the patches. (I pulled > his repo using hg-git, and pushed into github.) Cool, thanks. In the meantime I can use yours then.

Re: [cython-users] Re: [sage-devel] Cython cpu time

2010-07-14 Thread Ondrej Certik
On Wed, Jul 14, 2010 at 10:46 PM, Fernando Perez wrote: > On Wed, Jul 14, 2010 at 10:02 PM, Ondrej Certik wrote: > >> Thanks for this. Btw, I just revived this cython based line profiler: >> >> http://github.com/certik/line_profiler >> > > Is Robert K not maintaining the original anymore? I hope

Re: [cython-users] Re: [sage-devel] Cython cpu time

2010-07-14 Thread Fernando Perez
On Wed, Jul 14, 2010 at 10:02 PM, Ondrej Certik wrote: > Thanks for this. Btw, I just revived this cython based line profiler: > > http://github.com/certik/line_profiler > Is Robert K not maintaining the original anymore? Cheers, f -- To post to this group, send an email to sage-devel@google

Re: [sage-devel] Cython cpu time

2010-07-14 Thread Ondrej Certik
On Wed, Jul 14, 2010 at 1:21 PM, Robert Miller wrote: > Hello all, > > I just solved a relatively easy riddle, and I thought I'd share the results: > > # Cython version of cputime(): > cdef extern from "time.h": >    ctypedef unsigned long clock_t >    cdef clock_t clock() >    cdef enum: >      

[sage-devel] Cython cpu time

2010-07-14 Thread Robert Miller
Hello all, I just solved a relatively easy riddle, and I thought I'd share the results: # Cython version of cputime(): cdef extern from "time.h": ctypedef unsigned long clock_t cdef clock_t clock() cdef enum: CLOCKS_PER_SEC # To use: # # #cdef clock_t start, end #