]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Time guest demand paging
authorBen Gardon <bgardon@google.com>
Thu, 23 Jan 2020 18:04:34 +0000 (10:04 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:57:05 +0000 (17:57 +0100)
commita89b4058588064807a745e1e91b4dc8ce37967a5
tree492cdbd43002b9b997fef0231ee6ca171d9ed108
parent68837892d16ed9e2275773612b035dc5cb44e3f8
KVM: selftests: Time guest demand paging

In order to quantify demand paging performance, time guest execution
during demand paging.

Signed-off-by: Ben Gardon <bgardon@google.com>
[Move timespec-diff to test_util.h]
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/demand_paging_test.c
tools/testing/selftests/kvm/include/test_util.h
tools/testing/selftests/kvm/lib/test_util.c