aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRadim Krčmář <[email protected]>2019-11-07 07:53:42 -0500
committerPaolo Bonzini <[email protected]>2019-11-15 11:44:21 +0100
commit8750e72a79dda2f665ce17b62049f4d62130d991 (patch)
tree26c55833adf466e5eab151874c8d2e6c2eb25886 /tools/perf/scripts/python/exported-sql-viewer.py
parent662f1d1d19317e792ccfc53dee625c02dcefac58 (diff)
KVM: remember position in kvm->vcpus array
Fetching an index for any vcpu in kvm->vcpus array by traversing the entire array everytime is costly. This patch remembers the position of each vcpu in kvm->vcpus array by storing it in vcpus_idx under kvm_vcpu structure. Signed-off-by: Radim Krčmář <[email protected]> Signed-off-by: Nitesh Narayan Lal <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions