Lines Matching refs:timestamp
136 u64 timestamp; member
869 if (state->timestamp) in intel_pt_setup_queue()
873 ptq->timestamp = state->timestamp; in intel_pt_setup_queue()
875 queue_nr, ptq->timestamp); in intel_pt_setup_queue()
879 ret = auxtrace_heap__add(&pt->heap, queue_nr, ptq->timestamp); in intel_pt_setup_queue()
980 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_branch_sample()
1036 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_instruction_sample()
1093 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_transaction_sample()
1312 static int intel_pt_run_decoder(struct intel_pt_queue *ptq, u64 *timestamp) in intel_pt_run_decoder() argument
1369 state->timestamp, state->est_timestamp); in intel_pt_run_decoder()
1370 ptq->timestamp = state->est_timestamp; in intel_pt_run_decoder()
1377 state->timestamp, state->est_timestamp); in intel_pt_run_decoder()
1378 ptq->timestamp = state->est_timestamp; in intel_pt_run_decoder()
1379 } else if (state->timestamp > ptq->timestamp) { in intel_pt_run_decoder()
1380 ptq->timestamp = state->timestamp; in intel_pt_run_decoder()
1383 if (!pt->timeless_decoding && ptq->timestamp >= *timestamp) { in intel_pt_run_decoder()
1384 *timestamp = ptq->timestamp; in intel_pt_run_decoder()
1400 static int intel_pt_process_queues(struct intel_pt *pt, u64 timestamp) in intel_pt_process_queues() argument
1413 if (pt->heap.heap_array[0].ordinal >= timestamp) in intel_pt_process_queues()
1422 timestamp); in intel_pt_process_queues()
1428 if (ts > timestamp) in intel_pt_process_queues()
1429 ts = timestamp; in intel_pt_process_queues()
1431 ts = timestamp; in intel_pt_process_queues()
1510 u64 timestamp) in intel_pt_sync_switch() argument
1533 ptq->timestamp = perf_time_to_tsc(timestamp, in intel_pt_sync_switch()
1536 ptq->timestamp); in intel_pt_sync_switch()
1644 u64 timestamp; in intel_pt_process_event() local
1656 timestamp = perf_time_to_tsc(sample->time, &pt->tc); in intel_pt_process_event()
1658 timestamp = 0; in intel_pt_process_event()
1660 if (timestamp || pt->timeless_decoding) { in intel_pt_process_event()
1672 } else if (timestamp) { in intel_pt_process_event()
1673 err = intel_pt_process_queues(pt, timestamp); in intel_pt_process_event()
1696 sample->cpu, sample->time, timestamp); in intel_pt_process_event()