From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDen5-0000A7-F7 for qemu-devel@nongnu.org; Tue, 22 Mar 2005 03:31:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDelS-00081s-Ae for qemu-devel@nongnu.org; Tue, 22 Mar 2005 03:29:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDelR-0007zv-18 for qemu-devel@nongnu.org; Tue, 22 Mar 2005 03:29:25 -0500 Received: from [64.233.184.197] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDeVq-0004t8-UK for qemu-devel@nongnu.org; Tue, 22 Mar 2005 03:13:19 -0500 Received: by wproxy.gmail.com with SMTP id 36so13825wri for ; Tue, 22 Mar 2005 00:13:16 -0800 (PST) Message-ID: Date: Tue, 22 Mar 2005 09:13:16 +0100 From: Magnus Damm Subject: Re: [Qemu-devel] WinXp Guest clock drift In-Reply-To: <79bf9848050321231566add3e9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <423FB769.7080409@wasp.net.au> <79bf9848050321231566add3e9@mail.gmail.com> Reply-To: Magnus Damm , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike Swanson , qemu-devel@nongnu.org On Mon, 21 Mar 2005 23:15:24 -0800, Mike Swanson wrote: > Well, this is probably a nuisance in all emulators :p Does it have to be that way? I mean - if a media player can keep track of the time of a movie (with and without sound) then wouldn't it be possible for other applications like emulators to keep accurate time? I do not know how the time is handled in QEMU, but I wrote code some years ago that monitored itself with gettimeofday() and adjusted the drift on the fly. / magnus