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>
This commit is contained in:

committed by
Paolo Bonzini

parent
018494e6d8
commit
f09205b998
@@ -41,4 +41,7 @@ void test_assert(bool exp, const char *exp_str,
|
||||
|
||||
size_t parse_size(const char *size);
|
||||
|
||||
int64_t timespec_to_ns(struct timespec ts);
|
||||
struct timespec timespec_diff(struct timespec start, struct timespec end);
|
||||
|
||||
#endif /* SELFTEST_KVM_TEST_UTIL_H */
|
||||
|
Reference in New Issue
Block a user