diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-06-11 09:43:05 +0200 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-06-11 09:43:05 +0200 |
commit | 64270b19c38cd854e0de78636281519a8fefe50b (patch) | |
tree | ab844c5d1d09d504c3f42298a4979764750cce80 /src/cpu/kvm/base.hh | |
parent | c97a99110b8beafcf557636688e81861157a8c1e (diff) | |
download | gem5-64270b19c38cd854e0de78636281519a8fefe50b.tar.xz |
kvm: Add more VM stats
This changeset adds the following stats to KVM:
* numVMHalfEntries: Number of entries into KVM to finalize pending
IO operations without executing guest instructions. These typically
happen as a result of a drain where the guest must finalize some
operations before the guest state is consistent.
* numExitSignal: Number of VM exits that have been triggered by a
signal. These usually happen as a result of the timer that limits
the time spent in KVM.
Diffstat (limited to 'src/cpu/kvm/base.hh')
-rw-r--r-- | src/cpu/kvm/base.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/kvm/base.hh b/src/cpu/kvm/base.hh index 2e3ee551b..3c299ce4e 100644 --- a/src/cpu/kvm/base.hh +++ b/src/cpu/kvm/base.hh @@ -687,6 +687,8 @@ class BaseKvmCPU : public BaseCPU /* @{ */ Stats::Scalar numInsts; Stats::Scalar numVMExits; + Stats::Scalar numVMHalfEntries; + Stats::Scalar numExitSignal; Stats::Scalar numMMIO; Stats::Scalar numCoalescedMMIO; Stats::Scalar numIO; |