qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [RfC PATCH 11/11] spice: add audio


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [RfC PATCH 11/11] spice: add audio
Date: Thu, 15 Apr 2010 02:26:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3

On 04/15/2010 02:13 AM, malc wrote:
>  >  >  >    +static uint64_t get_monotonic_time(void)
>  >  >  >    +{
>  >  >  >    +    struct timespec time_space;
>  >  >  >    +    clock_gettime(CLOCK_MONOTONIC,&time_space);
>  >  a. The presence of monotonic clock is not guranteed
>
>  There is qemu_get_clock_ns(rt_clock).
Sorry, but what does it have to do with anything?

It is exactly the same as Gerd's function plus a fallback if no monotonic clock is available.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]