From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2Bn0-0002h6-1d for qemu-devel@nongnu.org; Wed, 14 Apr 2010 19:14:34 -0400 Received: from [140.186.70.92] (port=53247 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2Bmr-0002X0-Na for qemu-devel@nongnu.org; Wed, 14 Apr 2010 19:14:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2Bmk-0004Gr-Om for qemu-devel@nongnu.org; Wed, 14 Apr 2010 19:14:25 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:64893) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2Bmk-0004GJ-HF for qemu-devel@nongnu.org; Wed, 14 Apr 2010 19:14:18 -0400 Received: by fg-out-1718.google.com with SMTP id 22so246752fge.10 for ; Wed, 14 Apr 2010 16:14:17 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4BC64C48.80104@redhat.com> Date: Thu, 15 Apr 2010 01:14:16 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1271238922-10008-1-git-send-email-kraxel@redhat.com> <1271238922-10008-12-git-send-email-kraxel@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [RfC PATCH 11/11] spice: add audio List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: Gerd Hoffmann , qemu-devel@nongnu.org On 04/14/2010 10:51 PM, 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). Paolo