On Thu, Apr 20, 2017 at 02:00:58PM +0200, Paolo Bonzini wrote:
> I'm not trying too hard yet. Later, with multiqueue support,
> this may cause cacheline bouncing.
This patch calls qemu_clock_get_ns() within a spinlock region. It's
probably just a memory load, rdtsc, and some math but more
I'm not trying too hard yet. Later, with multiqueue support,
this may cause cacheline bouncing.
Signed-off-by: Paolo Bonzini
---
block/accounting.c | 15 +++
include/block/accounting.h | 8 ++--
2 files changed, 21 insertions(+), 2 deletions(-)