Lines Matching refs:host_tsc
2560 uint64_t host_tsc) in intel_pt_vm_tm_corr_first_tsc() argument
2580 if (intel_pt_time_in_range(decoder, host_tsc)) { in intel_pt_vm_tm_corr_first_tsc()
2600 uint64_t host_tsc; in intel_pt_vm_tm_corr_tsc() local
2632 host_tsc = intel_pt_8b_tsc(decoder->packet.payload, ref_timestamp); in intel_pt_vm_tm_corr_tsc()
2635 intel_pt_vm_tm_corr_first_tsc(decoder, data, vmcs_info, host_tsc); in intel_pt_vm_tm_corr_tsc()
2641 tsc_offset = host_tsc - expected_tsc; in intel_pt_vm_tm_corr_tsc()
2654 decoder->last_reliable_timestamp = host_tsc; in intel_pt_vm_tm_corr_tsc()
2683 if (host_tsc >= expected_tsc && intel_pt_time_in_range(decoder, host_tsc)) { in intel_pt_vm_tm_corr_tsc()
2747 uint64_t host_tsc = decoder->packet.payload; in intel_pt_vm_tm_corr_pebs_tsc() local
2768 if (intel_pt_time_in_range(decoder, host_tsc)) { in intel_pt_vm_tm_corr_pebs_tsc()
2776 host_tsc = ((guest_tsc & SEVEN_BYTES) - vmcs_info->tsc_offset) & SEVEN_BYTES; in intel_pt_vm_tm_corr_pebs_tsc()
2777 host_tsc = intel_pt_8b_tsc(host_tsc, decoder->timestamp); in intel_pt_vm_tm_corr_pebs_tsc()
2780 guest_tsc, host_tsc, vmcs_info->vmcs, in intel_pt_vm_tm_corr_pebs_tsc()
2782 if (!intel_pt_time_in_range(decoder, host_tsc) && in intel_pt_vm_tm_corr_pebs_tsc()
2788 host_tsc = decoder->timestamp; in intel_pt_vm_tm_corr_pebs_tsc()
2791 decoder->packet.payload = host_tsc; in intel_pt_vm_tm_corr_pebs_tsc()
2794 memcpy((void *)decoder->buf + 1, &host_tsc, 8); in intel_pt_vm_tm_corr_pebs_tsc()