| I reckon the man is wrong. On Windows I am getting
similar results to yours.
Victor
>
>
> hi -
>
> i tested the manual example for rtclock ...
>
> instr 1
> ; Get the system time.
> k1 rtclock
> ; Print it once per second.
> printk 1, k1
> endin
>
> ; Play Instrument #1 for two seconds.
> i 1 0 2
> e
>
> ..and expected something like this (from the manual
> example)
>
> i 1 time 0.00002: 1018236096.00000
> i 1 time 1.00002: 1018236224.00000
>
>
> but i get with output to dac:
>
> i 1 time 0.00002: 0.01464
> i 1 time 1.00000: 1.01257
> i 1 time 2.00000: 2.01394
>
> and with output to file:
>
> i 1 time 0.00002: 0.09404
> i 1 time 1.00000: 0.27993
> i 1 time 2.00000: 0.33443
>
> so it seems to give cpu time, right? is this the correct
> behavior for rtclock, or is this a bug (at least under
> os x)? is there an other way of getting the universal
> time in seconds?
>
> thanks for help -
>
> joachim
> |