From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDf0i-0007JO-8i for qemu-devel@nongnu.org; Tue, 22 Mar 2005 03:45:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDf0c-0007I3-5O for qemu-devel@nongnu.org; Tue, 22 Mar 2005 03:45:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDf0b-0007Gu-47 for qemu-devel@nongnu.org; Tue, 22 Mar 2005 03:45:05 -0500 Received: from [64.233.184.202] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDekc-0006AY-7Y for qemu-devel@nongnu.org; Tue, 22 Mar 2005 03:28:34 -0500 Received: by wproxy.gmail.com with SMTP id 36so14810wri for ; Tue, 22 Mar 2005 00:28:33 -0800 (PST) Message-ID: Date: Tue, 22 Mar 2005 09:28:33 +0100 From: Magnus Damm Subject: Re: [Qemu-devel] WinXp Guest clock drift In-Reply-To: <423FD59B.9050808@wasp.net.au> 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> <423FD59B.9050808@wasp.net.au> 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: qemu-devel@nongnu.org On Tue, 22 Mar 2005 12:21:47 +0400, Brad Campbell wrote: > Magnus Damm wrote: > > 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. > > I actually find all sorts of oddities with timing and qemu emulation. Sometimes when installing > stuff in a windows guest the guest slows to a crawl until I move the mouse around or drag a window > or something similar. Almost like it starts to go to sleep until it gets some user interaction. I second that observation. > There are a number of emulation oddities thus far, I just get used to them and work around them. I > guess I should actually have a go at debugging them really. The same goes for me... / magnus