qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Qemu can dance speed-step - let windows see the cor


From: Juergen Pfennig
Subject: [Qemu-devel] [PATCH] Qemu can dance speed-step - let windows see the correct time!
Date: Tue, 7 Feb 2006 21:40:35 +0100
User-agent: KMail/1.7.2

Hi,

the following is stuff from qemu-xp and cannot directly be applied to the
qemu sources. Anyhow: you can see what I have done. As a result windows
displays the correct time. Also the poll() was a bit optimised. The timer
stuff was changed to get some cpu cycles back. On a system with low CPU
load the timer might consume 0.5% of the time, but under heavy CPU load
you might see 5% time spent by the timer (actually I plan to dynamically
reduce the alarm timer frequency in future versions). Other clean-ups are
(and will be) related to memory-locality of frequently used data.

I have not seen any negative side effects of my code. TCP/IP still works
(they use the cpu-clock-counter?). The code was not written for gamers...
fast animations will not run precise. The deal is: don't waste cpu cycles
but make the windows clock go right (even with speed-step).

Yours Juergen


Attachment: timer.patch.gz
Description: GNU Zip compressed data


reply via email to

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