time.clock()
Grant Edwards
grante at visi.com
Fri Jul 14 13:26:34 EDT 2006
On 2006-07-14, Tobiah <toby at rcsreg.com> 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...
More information about the Python-list
mailing list