commit | e316e4e5fe836a3cdd522f7181ea1e6421afd416 | [log] [tgz] |
---|---|---|
author | Andreas Sandberg <andreas@sandberg.pp.se> | Thu May 02 12:03:43 2013 +0200 |
committer | Andreas Sandberg <andreas@sandberg.pp.se> | Thu May 02 12:03:43 2013 +0200 |
tree | 60b6007e58256688a34bbad4ec4d69cd805350c3 | |
parent | fa249461caa431b774b558349b32282477ef6153 [diff] |
kvm: Add a stat counting number of instructions executed This changeset adds a 'numInsts' stat to the KVM-based CPU. It also cleans up the variable names in kvmRun to make the distinction between host cycles and estimated simulated cycles clearer. As a bonus feature, it also fixes a warning (unreferenced variable) when compiling in fast mode.