]> 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)
commitf09205b99832f353088b7c82778b3f8175627620
tree492cdbd43002b9b997fef0231ee6ca171d9ed108
parent018494e6d8234c420e4f7236f502993df5584812
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