Lines Matching refs:ref_timestamp
157 uint64_t ref_timestamp; member
651 decoder->buf_timestamp = buffer.ref_timestamp; in intel_pt_get_data()
654 decoder->ref_timestamp = buffer.ref_timestamp; in intel_pt_get_data()
658 decoder->ref_timestamp); in intel_pt_get_data()
1771 static uint64_t intel_pt_8b_tsc(uint64_t timestamp, uint64_t ref_timestamp) in intel_pt_8b_tsc() argument
1773 timestamp |= (ref_timestamp & (0xffULL << 56)); in intel_pt_8b_tsc()
1775 if (timestamp < ref_timestamp) { in intel_pt_8b_tsc()
1776 if (ref_timestamp - timestamp > (1ULL << 55)) in intel_pt_8b_tsc()
1779 if (timestamp - ref_timestamp > (1ULL << 55)) in intel_pt_8b_tsc()
1807 if (decoder->ref_timestamp) { in intel_pt_calc_tsc_timestamp()
1809 decoder->ref_timestamp); in intel_pt_calc_tsc_timestamp()
1812 decoder->ref_timestamp = 0; in intel_pt_calc_tsc_timestamp()
2601 uint64_t ref_timestamp; in intel_pt_vm_tm_corr_tsc() local
2631 ref_timestamp = decoder->timestamp ? decoder->timestamp : decoder->buf_timestamp; in intel_pt_vm_tm_corr_tsc()
2632 host_tsc = intel_pt_8b_tsc(decoder->packet.payload, ref_timestamp); in intel_pt_vm_tm_corr_tsc()
4421 tsc = intel_pt_8b_tsc(tsc, buffer->ref_timestamp); in intel_pt_ff_cb()
4424 tsc, buffer->ref_timestamp); in intel_pt_ff_cb()
4431 d->buf_timestamp = buffer->ref_timestamp; in intel_pt_ff_cb()