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: malc
Subject: [Qemu-devel] Re: [RfC PATCH 11/11] spice: add audio
Date: Thu, 15 Apr 2010 04:29:21 +0400 (MSD)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Thu, 15 Apr 2010, Paolo Bonzini wrote:

> 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.
> 

Ah get_clock which is as broken as snippet above.

-- 
mailto:address@hidden




reply via email to

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