Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 22 of 22) sorted by relevance

/tools/perf/util/
Dordered-events.c17 u64 timestamp = new->timestamp; in queue_event() local
23 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); in queue_event()
27 oe->max_timestamp = timestamp; in queue_event()
36 if (last->timestamp <= timestamp) { in queue_event()
37 while (last->timestamp <= timestamp) { in queue_event()
41 oe->max_timestamp = timestamp; in queue_event()
48 while (last->timestamp > timestamp) { in queue_event()
134 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, in ordered_events__new_event() argument
141 new->timestamp = timestamp; in ordered_events__new_event()
159 u64 timestamp = sample->time; in ordered_events__queue() local
[all …]
Dcomm.h22 struct comm *comm__new(const char *str, u64 timestamp, bool exec);
24 int comm__override(struct comm *comm, const char *str, u64 timestamp,
Dcomm.c82 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new() argument
89 comm->start = timestamp; in comm__new()
103 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override() argument
114 comm->start = timestamp; in comm__override()
Dthread.h60 int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp,
63 u64 timestamp) in thread__set_comm() argument
65 return __thread__set_comm(thread, comm, timestamp, false); in thread__set_comm()
73 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp);
Dthread-stack.c76 u64 timestamp; member
197 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return() argument
209 cr.call_time = tse->timestamp; in thread_stack__call_return()
210 cr.return_time = timestamp; in thread_stack__call_return()
470 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() argument
484 tse->timestamp = timestamp; in thread_stack__push_cp()
494 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() argument
507 timestamp, ref, false); in thread_stack__pop_cp()
512 timestamp, ref, false); in thread_stack__pop_cp()
523 timestamp, ref, in thread_stack__pop_cp()
[all …]
Dthread.c134 int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, in __thread__set_comm() argument
142 err = comm__override(curr, str, timestamp, exec); in __thread__set_comm()
146 new = comm__new(str, timestamp, exec); in __thread__set_comm()
218 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp) in thread__fork() argument
226 err = thread__set_comm(thread, comm, timestamp); in thread__fork()
Dintel-pt.c137 u64 timestamp; member
888 if (state->timestamp) in intel_pt_setup_queue()
892 ptq->timestamp = state->timestamp; in intel_pt_setup_queue()
894 queue_nr, ptq->timestamp); in intel_pt_setup_queue()
898 ret = auxtrace_heap__add(&pt->heap, queue_nr, ptq->timestamp); in intel_pt_setup_queue()
999 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_branch_sample()
1055 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_instruction_sample()
1112 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_transaction_sample()
1347 static int intel_pt_run_decoder(struct intel_pt_queue *ptq, u64 *timestamp) in intel_pt_run_decoder() argument
1404 state->timestamp, state->est_timestamp); in intel_pt_run_decoder()
[all …]
Dintel-bts.c450 static int intel_bts_process_queue(struct intel_bts_queue *btsq, u64 *timestamp) in intel_bts_process_queue() argument
515 if (timestamp) in intel_bts_process_queue()
516 *timestamp = btsq->buffer->reference; in intel_bts_process_queue()
556 static int intel_bts_process_queues(struct intel_bts *bts, u64 timestamp) in intel_bts_process_queues() argument
568 if (bts->heap.heap_array[0].ordinal > timestamp) in intel_bts_process_queues()
602 u64 timestamp; in intel_bts_process_event() local
614 timestamp = perf_time_to_tsc(sample->time, &bts->tc); in intel_bts_process_event()
616 timestamp = 0; in intel_bts_process_event()
622 err = intel_bts_process_queues(bts, timestamp); in intel_bts_process_event()
Dordered-events.h9 u64 timestamp; member
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c122 uint64_t timestamp; member
490 decoder->timestamp = 0; in intel_pt_get_data()
612 uint64_t timestamp; member
643 uint64_t timestamp; in intel_pt_calc_cyc_cb() local
681 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb()
684 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb()
690 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb()
694 data->timestamp = timestamp; in intel_pt_calc_cyc_cb()
701 timestamp = pkt_info->packet.payload | in intel_pt_calc_cyc_cb()
702 (data->timestamp & (0xffULL << 56)); in intel_pt_calc_cyc_cb()
[all …]
Dintel-pt-decoder.h71 uint64_t timestamp; member
/tools/perf/
Dbuiltin-sched.c64 u64 timestamp; member
242 get_new_event(struct task_desc *task, u64 timestamp) in get_new_event() argument
248 event->timestamp = timestamp; in get_new_event()
270 u64 timestamp, u64 duration) in add_sched_event_run() argument
284 event = get_new_event(task, timestamp); in add_sched_event_run()
293 u64 timestamp, struct task_desc *wakee) in add_sched_event_wakeup() argument
297 event = get_new_event(task, timestamp); in add_sched_event_wakeup()
320 u64 timestamp, u64 task_state __maybe_unused) in add_sched_event_sleep() argument
322 struct sched_atom *event = get_new_event(task, timestamp); in add_sched_event_sleep()
726 u64 timestamp0, timestamp = sample->time; in replay_switch_event() local
[all …]
Dbuiltin-timechart.c128 u64 timestamp; member
240 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument
249 p->start_time = timestamp; in pid_fork()
251 p->current->start_time = timestamp; in pid_fork()
252 p->current->state_since = timestamp; in pid_fork()
256 static void pid_exit(struct timechart *tchart, int pid, u64 timestamp) in pid_exit() argument
260 p->end_time = timestamp; in pid_exit()
262 p->current->end_time = timestamp; in pid_exit()
345 static void c_state_start(int cpu, u64 timestamp, int state) in c_state_start() argument
347 cpus_cstate_start_times[cpu] = timestamp; in c_state_start()
[all …]
Dbuiltin-kvm.c219 struct event_key *key, u64 timestamp) in handle_begin_event() argument
227 vcpu_record->start_time = timestamp; in handle_begin_event()
/tools/lib/traceevent/
Dkbuffer-parse.c59 unsigned long long timestamp; member
337 kbuf->timestamp += delta; in old_update_pointers()
414 kbuf->timestamp += delta; in update_pointers()
505 *ts = kbuf->timestamp; in kbuffer_next_event()
531 kbuf->timestamp = read_8(kbuf, ptr); in kbuffer_load_subbuffer()
580 *ts = kbuf->timestamp; in kbuffer_read_event()
592 return kbuf->timestamp; in kbuffer_timestamp()
/tools/firewire/
Dnosy-dump.h14 uint32_t timestamp; member
77 uint32_t timestamp; member
/tools/iio/
Diio_event_monitor.c219 event->timestamp, event->id); in print_event()
224 printf("Event: time: %lld, type: %s", event->timestamp, in print_event()
/tools/perf/Documentation/
Dperf-script-perl.txt98 $common_secs the secs portion of the event timestamp
99 $common_nsecs the nsecs portion of the event timestamp
Dperf-trace.txt93 Print full timestamp rather time relative to first sample.
Dintel-pt.txt222 tsc Always supported. Produces TSC timestamp packets to provide
280 MTC packets provide finer grain timestamp information than TSC
324 CYC packets provide even finer grain timestamp information than
Dperf-script-python.txt494 common_secs the secs portion of the event timestamp
495 common_nsecs the nsecs portion of the event timestamp
Dperf-record.txt191 --timestamp::