]> git.proxmox.com Git - qemu.git/commit - qemu-timer.h
variable timer intervals
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 3 Aug 2009 09:56:01 +0000 (10:56 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:05:31 +0000 (13:05 -0500)
commit2430ffe4c855d782b157fafd0cd561d7c1561c2f
tree5cb08279411401e9de387d409eb6422cc0d47a42
parent1fc624122fb923c7fc4c1f426541d953e7df13c9
variable timer intervals

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.

Please note that qemu_timer_expired is not an inline function any more
because I needed to call it from vnc.c however I don't think this change
should have any serious consequence.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
qemu-timer.h
vl.c
vnc.c
vnc.h