[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] smoother sdl display & mouse
From: |
Jindrich Makovicka |
Subject: |
Re: [Qemu-devel] [PATCH] smoother sdl display & mouse |
Date: |
Sun, 29 Jul 2007 17:23:50 +0200 |
On Tue, 24 Jul 2007 19:44:12 +0100
"Daniel P. Berrange" <address@hidden> wrote:
> Using a command line argument to change the refresh rate doesn't seem
> like a particularly optional solution. It think it would be better to
> have QEMU automatically adapt the refresh rate. eg, it would start
> off refreshing SDL at 30ms intervals. If it sees a keyboard or mouse
> event, it would increase the refresh rate to 10ms. If, say, 100ms
> passes without any further events, then it could decrease it to 30ms
> again.
>
> That way everyone would always get the low CPU load, unless they were
> actaully interacting with the mouse/keyboard in which case it would
> tune itself for interactive response.
Sounds reasonable. Updated patch attached.
--
Jindrich Makovicka
kvm-33-refresh.diff
Description: Text Data