|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] main-loop: For tools, initialize timers as part of qemu_init_main_loop() |
Date: | Sun, 22 Jan 2012 13:32:56 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 01/21/2012 09:39 PM, Jamie Lokier wrote:
Is this a timer that need to fire soon after setting, every time? I wonder if a different kind of Windows timer, lower-resolution, could be used if the timeout is longer. If it has insufficient resolution, it could be set to trigger a little early, then set a high-resolution timer at that point. Maybe that could help for Linux CONFIG_NOHZ guests?
No, it's an implementation detail of Windows multimedia timers. Just enabling them apparently burns CPU.
There is another kind of timers for Windows but it didn't work reliably. Finding out why would be the right fix, but anyway
Reviewed-by: Paolo Bonzini <address@hidden> Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |