Searched hist:9892 (Results 1 - 2 of 2) sorted by relevance

/gem5/src/cpu/kvm/
H A Dbase.hh9892:0063c7dd18ec Mon Sep 30 03:53:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> kvm: Add support for thread-specific instruction events

Instruction events are currently ignored when executing in KVM. This
changeset adds support for triggering KVM exits based on instruction
counts using hardware performance counters. Depending on the
underlying performance counter implementation, there might be some
inaccuracies due to instructions being counted in the host kernel when
entering/exiting KVM.

Due to limitations/bugs in Linux's performance counter interface, we
can't reliably change the period of an overflow counter. We work
around this issue by detaching and reattaching the counter if we need
to reconfigure it.
H A Dbase.cc9892:0063c7dd18ec Mon Sep 30 03:53:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> kvm: Add support for thread-specific instruction events

Instruction events are currently ignored when executing in KVM. This
changeset adds support for triggering KVM exits based on instruction
counts using hardware performance counters. Depending on the
underlying performance counter implementation, there might be some
inaccuracies due to instructions being counted in the host kernel when
entering/exiting KVM.

Due to limitations/bugs in Linux's performance counter interface, we
can't reliably change the period of an overflow counter. We work
around this issue by detaching and reattaching the counter if we need
to reconfigure it.

Completed in 24 milliseconds