summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/44x_tlb.c
diff options
context:
space:
mode:
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>2008-07-14 12:00:01 (GMT)
committerAvi Kivity <avi@qumranet.com>2008-10-15 08:15:15 (GMT)
commit3f7f95c65ef6a89472a28da1b9436eaeee288831 (patch)
treed453af46dceb3fcce512a110573cd2e8e4341cfa /arch/powerpc/kvm/44x_tlb.c
parente32c8f2c0720fb21c6f4a5f6ccbebdadc878f707 (diff)
downloadlinux-fsl-qoriq-3f7f95c65ef6a89472a28da1b9436eaeee288831.tar.xz
KVM: kvmtrace: replace get_cycles with ktime_get v3
The current kvmtrace code uses get_cycles() while the interpretation would be easier using using nanoseconds. ktime_get() should give at least the same accuracy as get_cycles on all architectures (even better on 32bit archs) but at a better unit (e.g. comparable between hosts with different frequencies. [avi: avoid ktime_t in public header] Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/powerpc/kvm/44x_tlb.c')
0 files changed, 0 insertions, 0 deletions