Searched refs:guest_tsc (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/x86/kvm/ |
H A D | lapic.c | 1848 u64 guest_tsc, tsc_deadline; in __kvm_wait_lapic_expire() local 1852 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in __kvm_wait_lapic_expire() 1856 adjust_lapic_timer_advance(vcpu, guest_tsc - tsc_deadline); in __kvm_wait_lapic_expire() 1862 if (guest_tsc < tsc_deadline) in __kvm_wait_lapic_expire() 1863 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in __kvm_wait_lapic_expire() 1866 if (guest_tsc < tsc_deadline) in __kvm_wait_lapic_expire() 1867 __wait_lapic_expire(vcpu, tsc_deadline - guest_tsc); in __kvm_wait_lapic_expire() 1934 u64 guest_tsc, tscdeadline = ktimer->tscdeadline; in start_sw_tscdeadline() local 1948 guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc()); in start_sw_tscdeadline() 1950 ns = (tscdeadline - guest_tsc) * 1000000ULL; in start_sw_tscdeadline() [all …]
|
/openbmc/linux/Documentation/virt/kvm/devices/ |
H A D | vcpu.rst | 219 guest_tsc = host_tsc + KVM_VCPU_TSC_OFFSET
|
/openbmc/linux/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 2752 uint64_t guest_tsc = decoder->packet.payload; in intel_pt_vm_tm_corr_pebs_tsc() local 2780 host_tsc = ((guest_tsc & SEVEN_BYTES) - vmcs_info->tsc_offset) & SEVEN_BYTES; in intel_pt_vm_tm_corr_pebs_tsc() 2784 guest_tsc, host_tsc, vmcs_info->vmcs, in intel_pt_vm_tm_corr_pebs_tsc()
|