diff options
author | 2023-02-23 00:18:05 +0000 | |
---|---|---|
committer | 2023-03-24 08:26:23 -0700 | |
commit | f6baabdcadd1080893aa5e49e6959cb070244703 (patch) | |
tree | bc7208803000b43b5e906eda2c3c15c5e2e4861b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: Change return type of kvm_arch_vm_ioctl() to "int" (diff) | |
download | linux-rng-f6baabdcadd1080893aa5e49e6959cb070244703.tar.xz linux-rng-f6baabdcadd1080893aa5e49e6959cb070244703.zip |
KVM: selftests: Fix nsec to sec conversion in demand_paging_test
demand_paging_test uses 1E8 as the denominator to convert nanoseconds to
seconds, which is wrong. Use NSEC_PER_SEC instead to fix the issue and
make the conversion obvious.
Reported-by: James Houghton <jthoughton@google.com>
Signed-off-by: Anish Moorthy <amoorthy@google.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20230223001805.2971237-1-amoorthy@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions