Re: [Qemu-devel] [RFC PATCH V3 4/6] cpu_exec: Add sleeping algorithm

2014-07-01 Thread Sebastian Tanase
- Mail original - > De: "Paolo Bonzini" > À: "Sebastian Tanase" , qemu-devel@nongnu.org > Cc: aligu...@amazon.com, afaer...@suse.de, r...@twiddle.net, "peter maydell" > , > mich...@walle.cc, a...@alex.org.uk, stefa...@redhat.com, > lcapitul...@redhat.com, crobi...@redhat.com, > arm...@

Re: [Qemu-devel] [RFC PATCH V3 4/6] cpu_exec: Add sleeping algorithm

2014-06-30 Thread Paolo Bonzini
Il 30/06/2014 15:59, Sebastian Tanase ha scritto: > The goal is to sleep qemu whenever the guest clock > is in advance compared to the host clock (we use > the monotonic clocks). The amount of time to sleep > is calculated in the execution loop in cpu_exec. > > At first, we tried to approximate at

Re: [Qemu-devel] [RFC PATCH V3 4/6] cpu_exec: Add sleeping algorithm

2014-06-30 Thread Paolo Bonzini
Il 30/06/2014 15:59, Sebastian Tanase ha scritto: The goal is to sleep qemu whenever the guest clock is in advance compared to the host clock (we use the monotonic clocks). The amount of time to sleep is calculated in the execution loop in cpu_exec. At first, we tried to approximate at each for

[Qemu-devel] [RFC PATCH V3 4/6] cpu_exec: Add sleeping algorithm

2014-06-30 Thread Sebastian Tanase
The goal is to sleep qemu whenever the guest clock is in advance compared to the host clock (we use the monotonic clocks). The amount of time to sleep is calculated in the execution loop in cpu_exec. At first, we tried to approximate at each for loop the real time elapsed while searching for a TB