Lines Matching defs:ref_timestamp
157 uint64_t ref_timestamp;
651 decoder->buf_timestamp = buffer.ref_timestamp;
654 decoder->ref_timestamp = buffer.ref_timestamp;
658 decoder->ref_timestamp);
1773 static uint64_t intel_pt_8b_tsc(uint64_t timestamp, uint64_t ref_timestamp)
1775 timestamp |= (ref_timestamp & (0xffULL << 56));
1777 if (timestamp < ref_timestamp) {
1778 if (ref_timestamp - timestamp > (1ULL << 55))
1781 if (timestamp - ref_timestamp > (1ULL << 55))
1809 if (decoder->ref_timestamp) {
1811 decoder->ref_timestamp);
1814 decoder->ref_timestamp = 0;
2605 uint64_t ref_timestamp;
2635 ref_timestamp = decoder->timestamp ? decoder->timestamp : decoder->buf_timestamp;
2636 host_tsc = intel_pt_8b_tsc(decoder->packet.payload, ref_timestamp);
4425 tsc = intel_pt_8b_tsc(tsc, buffer->ref_timestamp);
4428 tsc, buffer->ref_timestamp);
4435 d->buf_timestamp = buffer->ref_timestamp;