Lines Matching refs:ref_timestamp
154 uint64_t ref_timestamp; member
638 decoder->buf_timestamp = buffer.ref_timestamp; in intel_pt_get_data()
641 decoder->ref_timestamp = buffer.ref_timestamp; in intel_pt_get_data()
645 decoder->ref_timestamp); in intel_pt_get_data()
1521 static uint64_t intel_pt_8b_tsc(uint64_t timestamp, uint64_t ref_timestamp) in intel_pt_8b_tsc() argument
1523 timestamp |= (ref_timestamp & (0xffULL << 56)); in intel_pt_8b_tsc()
1525 if (timestamp < ref_timestamp) { in intel_pt_8b_tsc()
1526 if (ref_timestamp - timestamp > (1ULL << 55)) in intel_pt_8b_tsc()
1529 if (timestamp - ref_timestamp > (1ULL << 55)) in intel_pt_8b_tsc()
1557 if (decoder->ref_timestamp) { in intel_pt_calc_tsc_timestamp()
1559 decoder->ref_timestamp); in intel_pt_calc_tsc_timestamp()
1562 decoder->ref_timestamp = 0; in intel_pt_calc_tsc_timestamp()
2337 uint64_t ref_timestamp; in intel_pt_vm_tm_corr_tsc() local
2367 ref_timestamp = decoder->timestamp ? decoder->timestamp : decoder->buf_timestamp; in intel_pt_vm_tm_corr_tsc()
2368 host_tsc = intel_pt_8b_tsc(decoder->packet.payload, ref_timestamp); in intel_pt_vm_tm_corr_tsc()
4101 tsc = intel_pt_8b_tsc(tsc, buffer->ref_timestamp); in intel_pt_ff_cb()
4104 tsc, buffer->ref_timestamp); in intel_pt_ff_cb()
4111 d->buf_timestamp = buffer->ref_timestamp; in intel_pt_ff_cb()