Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 4 of 4) sorted by relevance

/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/
A Dsvm.c796 static uint64_t scale_tsc(uint64_t host_tsc, uint64_t ratio) in scale_tsc() argument
800 if ( ratio == DEFAULT_TSC_RATIO ) in scale_tsc()
818 mult = ratio >> 32; in scale_tsc()
819 frac = ratio & ((1ULL << 32) - 1); in scale_tsc()
828 uint64_t ratio) in svm_get_tsc_offset() argument
830 return guest_tsc - scale_tsc(host_tsc, ratio); in svm_get_tsc_offset()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dhvm.c354 u64 ratio, dummy; in hvm_get_tsc_scaling_ratio() local
371 : "=d" (dummy), "=a" (ratio) in hvm_get_tsc_scaling_ratio()
377 return ratio > max_ratio ? 0 : ratio; in hvm_get_tsc_scaling_ratio()
382 u64 ratio = d->arch.hvm_domain.tsc_scaling_ratio; in hvm_scale_tsc() local
385 if ( ratio == hvm_default_tsc_scaling_ratio ) in hvm_scale_tsc()
392 [ratio] "rm" (ratio) ); in hvm_scale_tsc()
/xen-4.10.0-shim-comet/docs/man/
A Dxen-tscmode.pod.7339 Intel VMX TSC scaling and AMD SVM TSC ratio allow the guest TSC read
347 VMX TSC scaling/AMD SVM TSC ratio, its guest TSC frequency will be the
A Dxl.cfg.pod.5.in1863 ratio, its guest TSC frequency will be the same before and after

Completed in 22 milliseconds