]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: use ticks, not usecs, for exit timing
authorStuart Yoder <stuart.yoder@freescale.com>
Mon, 28 Mar 2011 20:01:56 +0000 (15:01 -0500)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:47:49 +0000 (08:47 -0400)
commit88fbac688c3d4639908350363970ad9f0c3767ff
tree264b19e5489bfc6baab352d5353a236784cf3008
parent75f4c677e458ffc3691268cc3708735955680075
KVM: PPC: use ticks, not usecs, for exit timing

Convert to microseconds when displaying
(with fix from Bharat Bhushan <Bharat.Bhushan@freescale.com>).

This reduces rounding error with large quantities of short exits.

Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/timing.c