Lines Matching refs:ref_timestamp
154 uint64_t ref_timestamp; member
639 decoder->buf_timestamp = buffer.ref_timestamp; in intel_pt_get_data()
642 decoder->ref_timestamp = buffer.ref_timestamp; in intel_pt_get_data()
646 decoder->ref_timestamp); in intel_pt_get_data()
1530 static uint64_t intel_pt_8b_tsc(uint64_t timestamp, uint64_t ref_timestamp) in intel_pt_8b_tsc() argument
1532 timestamp |= (ref_timestamp & (0xffULL << 56)); in intel_pt_8b_tsc()
1534 if (timestamp < ref_timestamp) { in intel_pt_8b_tsc()
1535 if (ref_timestamp - timestamp > (1ULL << 55)) in intel_pt_8b_tsc()
1538 if (timestamp - ref_timestamp > (1ULL << 55)) in intel_pt_8b_tsc()
1566 if (decoder->ref_timestamp) { in intel_pt_calc_tsc_timestamp()
1568 decoder->ref_timestamp); in intel_pt_calc_tsc_timestamp()
1571 decoder->ref_timestamp = 0; in intel_pt_calc_tsc_timestamp()
2355 uint64_t ref_timestamp; in intel_pt_vm_tm_corr_tsc() local
2385 ref_timestamp = decoder->timestamp ? decoder->timestamp : decoder->buf_timestamp; in intel_pt_vm_tm_corr_tsc()
2386 host_tsc = intel_pt_8b_tsc(decoder->packet.payload, ref_timestamp); in intel_pt_vm_tm_corr_tsc()
4127 tsc = intel_pt_8b_tsc(tsc, buffer->ref_timestamp); in intel_pt_ff_cb()
4130 tsc, buffer->ref_timestamp); in intel_pt_ff_cb()
4137 d->buf_timestamp = buffer->ref_timestamp; in intel_pt_ff_cb()