diff options
Diffstat (limited to 'src/cpu/kvm/base.hh')
-rw-r--r-- | src/cpu/kvm/base.hh | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/cpu/kvm/base.hh b/src/cpu/kvm/base.hh index 90ebae644..0554f913e 100644 --- a/src/cpu/kvm/base.hh +++ b/src/cpu/kvm/base.hh @@ -460,12 +460,6 @@ class BaseKvmCPU : public BaseCPU /** Setup hardware performance counters */ void setupCounters(); - /** @{ */ - /** Start/stop counting HW performance events */ - void startCounters(); - void stopCounters(); - /** @} */ - /** KVM vCPU file descriptor */ int vcpuFD; /** Size of MMAPed kvm_run area */ @@ -496,6 +490,15 @@ class BaseKvmCPU : public BaseCPU /** @} */ /** + * Does the runTimer control the performance counters? + * + * The run timer will automatically enable and disable performance + * counters if a PerfEvent-based timer is used to control KVM + * exits. + */ + bool perfControlledByTimer; + + /** * Timer used to force execution into the monitor after a * specified number of simulation tick equivalents have executed * in the guest. This counter generates the signal specified by |