summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-11-18 12:54:33 +0100
committerAvi Kivity <avi@qumranet.com>2008-01-30 16:53:04 +0100
commitf096ed8588b53bf802b84862c6c4d00d25d1ed72 (patch)
tree5050a7f7c00b47897c2f4e28c338673bc2dc8fa7 /drivers/kvm/kvm.h
parentKVM: Replace 'light_exits' stat with 'host_state_reload' (diff)
downloadlinux-f096ed8588b53bf802b84862c6c4d00d25d1ed72.tar.xz
linux-f096ed8588b53bf802b84862c6c4d00d25d1ed72.zip
KVM: Add fpu_reload counter
Measure the number of times we switch the fpu state. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index 04efe8833e09..a85c5903591f 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -248,6 +248,7 @@ struct kvm_stat {
u32 irq_exits;
u32 host_state_reload;
u32 efer_reload;
+ u32 fpu_reload;
};
struct kvm_io_device {