On 2006-07-14, Tobiah <[EMAIL PROTECTED]> wrote:

> So I "man 3 clock" and notice:
>
>       The value returned is the CPU time used so far as a clock_t; to get  
> the  number
>        of  seconds  used,  divide by CLOCKS_PER_SEC.
>
> So, I'm wondering how to get that value from python.

What value?

> All I really want to do is know current time relative to a
> given point

Which is not at all the same thing as CPU usage.

> so that I can capture MIDI events, and store the time at which
> they arrive.

time.time()

> Am I barking up the wrong tree?

Yes, but your in the right grove.

-- 
Grant Edwards                   grante             Yow!  "THE LITTLE PINK
                                  at               FLESH SISTERS," I saw them
                               visi.com            at th' FLUROESCENT BULB
                                                   MAKERS CONVENTION...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to