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

/gem5/src/cpu/kvm/
H A Dbase.hh9735:fb040456eb46 Mon Jun 03 07:39:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> kvm: Allow architectures to override the cycle accounting mechanism

Some architectures have special registers in the guest that can be
used to do cycle accounting. This is generally preferrable since the
prevents the guest from seeing a non-monotonic clock. This changeset
adds a virtual method, getHostCycles(), that the architecture-specific
code can override to implement this functionallity. The default
implementation uses the hwCycles counter.
H A Dbase.cc9735:fb040456eb46 Mon Jun 03 07:39:00 EDT 2013 Andreas Sandberg <andreas@sandberg.pp.se> kvm: Allow architectures to override the cycle accounting mechanism

Some architectures have special registers in the guest that can be
used to do cycle accounting. This is generally preferrable since the
prevents the guest from seeing a non-monotonic clock. This changeset
adds a virtual method, getHostCycles(), that the architecture-specific
code can override to implement this functionallity. The default
implementation uses the hwCycles counter.

Completed in 18 milliseconds