On 01/20/2012 12:29 PM, Jan Kiszka wrote:
>  Yeah, however, realtime is quite confusing because CLOCK_MONOTONIC is
>  part of the "real-time clock API".  The code is much clearer than the
>  comment, I'll remove it completely.  v2 on the way.
There is CLOCK_MONOTONIC and CLOCK_REALTIME, and this function uses the
latter.

Actually it uses gettimeofday, but I see what you mean.

But QEMU_CLOCK_REALTIME and rt_clock refer to CLOCK_MONOTONIC and are _not_ read by get_clock_realtime. This actually is what prompted me to rename get_clock_realtime (see commit message).

Paolo

Reply via email to