qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3 of 3] variable timer intervals


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 3 of 3] variable timer intervals
Date: Wed, 29 Jul 2009 16:41:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 07/29/09 14:09, Stefano Stabellini wrote:
This patch introduces dynamic timer intervals: we slow down the refresh
rate when there in no much activity but we get back to a fast refresh
rate when the activity resume.

Looks good in principle. Untested though because it doesn't apply without patch #2.

          if (vs->output.offset&&  !vs->audio_cap&&  !vs->force_update)
              /* kernel send buffers are full ->  drop frames to throttle */
-            return;
+            return 0;

Maybe it makes sense to integrate this throttle logic into the refresh rate adaption?

cheers,
  Gerd




reply via email to

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