Lines Matching defs:time
38 #include "time-utils.h"
167 u64 time;
263 /* perf_time__ranges_skip_sample does not work if time is zero */
1317 sample->time = tsc_to_perf_time(ptq->timestamp, &pt->tc);
1812 /* No support for guest mode at this time */
1829 sample.time = tsc_to_perf_time(timestamp, &pt->tc);
2165 * To filter against time ranges, it is only necessary to look at the next start
2166 * or end time.
2173 /* Next time is an end time */
2178 /* Next time is a start time */
2185 /* No next time */
2196 /* After start time, so consider next time */
2199 /* No end time */
2202 /* Check against end time */
2205 /* Before start time, so fast forward */
2220 /* After end time, so consider next time */
2222 /* No next time range, so stop decoding */
2227 /* Check against next start time */
2230 /* Before end time */
2396 ptq->time = time_;
2448 ptq->time = sample->time;
2457 sample->pid, sample->tid, 0, sample->time);
2547 intel_pt_log("sched_switch: cpu %d tid %d time %"PRIu64" tsc %#"PRIx64"\n",
2548 cpu, tid, sample->time, perf_time_to_tsc(sample->time,
2551 ret = intel_pt_sync_switch(pt, cpu, tid, sample->time);
2624 ret = intel_pt_sync_switch(pt, cpu, tid, sample->time);
2638 intel_pt_log("itrace_start: cpu %d pid %d tid %d time %"PRIu64" tsc %#"PRIx64"\n",
2640 event->itrace_start.tid, sample->time,
2641 perf_time_to_tsc(sample->time, &pt->tc));
2727 if (sample->time && sample->time != (u64)-1)
2728 timestamp = perf_time_to_tsc(sample->time, &pt->tc);
2746 sample->time);
2780 if (intel_pt_enable_logging && intel_pt_log_events(pt, sample->time)) {
2781 intel_pt_log("event %u: cpu %d time %"PRIu64" tsc %#"PRIx64" ",
2782 event->header.type, sample->cpu, sample->time, timestamp);
2904 if (sample->time && sample->time != (u64)-1)
2905 timestamp = perf_time_to_tsc(sample->time, &pt->tc);
3255 * Take care to ensure the TSC range matches the perf-time range
3256 * when converted back to perf-time.
3261 intel_pt_log("range %d: perf time interval: %"PRIu64" to %"PRIu64"\n",
3263 intel_pt_log("range %d: TSC time interval: %#"PRIx64" to %#"PRIx64"\n",
3548 * actual sample ip to where the sample time is recorded.