diff options
author | 2014-05-06 13:05:25 +0200 | |
---|---|---|
committer | 2014-07-11 09:14:03 +0200 | |
commit | 9506d57de3bc8277a4e306e0d439976862f68c6d (patch) | |
tree | aac16beac03ddc018f7ffec0d453d1a89d4a11f0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: emulate: avoid repeated calls to do_insn_fetch_bytes (diff) | |
download | linux-dev-9506d57de3bc8277a4e306e0d439976862f68c6d.tar.xz linux-dev-9506d57de3bc8277a4e306e0d439976862f68c6d.zip |
KVM: emulate: avoid per-byte copying in instruction fetches
We do not need a memory copying loop anymore in insn_fetch; we
can use a byte-aligned pointer to access instruction fields directly
from the fetch_cache. This eliminates 50-150 cycles (corresponding to
a 5-10% improvement in performance) from each instruction.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions