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()
1773 static uint64_t intel_pt_8b_tsc(uint64_t timestamp, uint64_t ref_timestamp) in intel_pt_8b_tsc() argument
1775 timestamp |= (ref_timestamp & (0xffULL << 56)); in intel_pt_8b_tsc()
1777 if (timestamp < ref_timestamp) { in intel_pt_8b_tsc()
1778 if (ref_timestamp - timestamp > (1ULL << 55)) in intel_pt_8b_tsc()
1781 if (timestamp - ref_timestamp > (1ULL << 55)) in intel_pt_8b_tsc()
1809 if (decoder->ref_timestamp) { in intel_pt_calc_tsc_timestamp()
1811 decoder->ref_timestamp); in intel_pt_calc_tsc_timestamp()
1814 decoder->ref_timestamp = 0; in intel_pt_calc_tsc_timestamp()
2605 uint64_t ref_timestamp; in intel_pt_vm_tm_corr_tsc() local
2635 ref_timestamp = decoder->timestamp ? decoder->timestamp : decoder->buf_timestamp; in intel_pt_vm_tm_corr_tsc()
2636 host_tsc = intel_pt_8b_tsc(decoder->packet.payload, ref_timestamp); in intel_pt_vm_tm_corr_tsc()
4425 tsc = intel_pt_8b_tsc(tsc, buffer->ref_timestamp); in intel_pt_ff_cb()
4428 tsc, buffer->ref_timestamp); in intel_pt_ff_cb()
4435 d->buf_timestamp = buffer->ref_timestamp; in intel_pt_ff_cb()