Searched refs:at_tsc (Results 1 – 6 of 6) sorted by relevance
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | vpt.c | 38 u64 hvm_get_guest_time_fixed(struct vcpu *v, u64 at_tsc) in hvm_get_guest_time_fixed() argument 47 now = get_s_time_fixed(at_tsc) + pl->stime_offset; in hvm_get_guest_time_fixed() 49 if ( !at_tsc ) in hvm_get_guest_time_fixed()
|
A D | hvm.c | 397 static void hvm_set_guest_tsc_fixed(struct vcpu *v, u64 guest_tsc, u64 at_tsc) in hvm_set_guest_tsc_fixed() argument 404 tsc = hvm_get_guest_time_fixed(v, at_tsc); in hvm_set_guest_tsc_fixed() 409 tsc = at_tsc ?: rdtsc(); in hvm_set_guest_tsc_fixed() 417 hvm_funcs.set_tsc_offset(v, v->arch.hvm_vcpu.cache_tsc_offset, at_tsc); in hvm_set_guest_tsc_fixed() 439 u64 hvm_get_guest_tsc_fixed(struct vcpu *v, uint64_t at_tsc) in hvm_get_guest_tsc_fixed() argument 445 tsc = hvm_get_guest_time_fixed(v, at_tsc); in hvm_get_guest_tsc_fixed() 450 tsc = at_tsc ?: rdtsc(); in hvm_get_guest_tsc_fixed()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/ |
A D | hvm.h | 148 void (*set_tsc_offset)(struct vcpu *v, u64 offset, u64 at_tsc); 256 u64 hvm_get_guest_tsc_fixed(struct vcpu *v, u64 at_tsc); 274 u64 hvm_get_guest_time_fixed(struct vcpu *v, u64 at_tsc);
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | time.c | 995 s_time_t get_s_time_fixed(u64 at_tsc) in get_s_time_fixed() argument 1001 if ( at_tsc ) in get_s_time_fixed() 1002 tsc = at_tsc; in get_s_time_fixed()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/ |
A D | svm.c | 833 static void svm_set_tsc_offset(struct vcpu *v, u64 offset, u64 at_tsc) in svm_set_tsc_offset() argument 854 uint64_t guest_tsc = hvm_get_guest_tsc_fixed(v, at_tsc); in svm_set_tsc_offset()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/ |
A D | vmx.c | 1394 static void vmx_set_tsc_offset(struct vcpu *v, u64 offset, u64 at_tsc) in vmx_set_tsc_offset() argument
|
Completed in 25 milliseconds