/Linux-v4.19/tools/perf/util/ |
D | ordered-events.c | 20 u64 timestamp = new->timestamp; in queue_event() local 26 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); in queue_event() 30 oe->max_timestamp = timestamp; in queue_event() 39 if (last->timestamp <= timestamp) { in queue_event() 40 while (last->timestamp <= timestamp) { in queue_event() 44 oe->max_timestamp = timestamp; in queue_event() 51 while (last->timestamp > timestamp) { in queue_event() 137 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, in ordered_events__new_event() argument 144 new->timestamp = timestamp; in ordered_events__new_event() 160 u64 timestamp, u64 file_offset) in ordered_events__queue() argument [all …]
|
D | time-utils.c | 356 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp) in perf_time__skip_sample() argument 359 if (timestamp == 0) in perf_time__skip_sample() 363 if ((ptime->start && timestamp < ptime->start) || in perf_time__skip_sample() 364 (ptime->end && timestamp > ptime->end)) { in perf_time__skip_sample() 372 int num, u64 timestamp) in perf_time__ranges_skip_sample() argument 377 if ((timestamp == 0) || (num == 0)) in perf_time__ranges_skip_sample() 381 return perf_time__skip_sample(&ptime_buf[0], timestamp); in perf_time__ranges_skip_sample() 389 if (timestamp >= ptime->start && in perf_time__ranges_skip_sample() 390 ((timestamp < ptime->end && i < num - 1) || in perf_time__ranges_skip_sample() 391 (timestamp <= ptime->end && i == num - 1))) { in perf_time__ranges_skip_sample() [all …]
|
D | thread.c | 139 static int __thread__set_namespaces(struct thread *thread, u64 timestamp, in __thread__set_namespaces() argument 150 if (timestamp && curr) { in __thread__set_namespaces() 157 curr->end_time = timestamp; in __thread__set_namespaces() 163 int thread__set_namespaces(struct thread *thread, u64 timestamp, in thread__set_namespaces() argument 169 ret = __thread__set_namespaces(thread, timestamp, event); in thread__set_namespaces() 196 u64 timestamp, bool exec) in ____thread__set_comm() argument 202 int err = comm__override(curr, str, timestamp, exec); in ____thread__set_comm() 206 new = comm__new(str, timestamp, exec); in ____thread__set_comm() 220 int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, in __thread__set_comm() argument 226 ret = ____thread__set_comm(thread, str, timestamp, exec); in __thread__set_comm() [all …]
|
D | thread.h | 72 int thread__set_namespaces(struct thread *thread, u64 timestamp, 75 int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp, 78 u64 timestamp) in thread__set_comm() argument 80 return __thread__set_comm(thread, comm, timestamp, false); in thread__set_comm() 90 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp);
|
D | thread-stack.c | 42 u64 timestamp; member 163 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return() argument 175 cr.call_time = tse->timestamp; in thread_stack__call_return() 176 cr.return_time = timestamp; in thread_stack__call_return() 334 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() argument 348 tse->timestamp = timestamp; in thread_stack__push_cp() 358 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() argument 371 timestamp, ref, false); in thread_stack__pop_cp() 376 timestamp, ref, false); in thread_stack__pop_cp() 387 timestamp, ref, in thread_stack__pop_cp() [all …]
|
D | time-utils.h | 21 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp); 24 int num, u64 timestamp); 26 int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz);
|
/Linux-v4.19/arch/alpha/kernel/ |
D | err_common.c | 91 union el_timestamp timestamp; in el_process_header_subpacket() local 109 timestamp.as_int = 0; in el_process_header_subpacket() 116 timestamp = header->by_type.sys_event.timestamp; in el_process_header_subpacket() 123 timestamp = header->by_type.err_halt.timestamp; in el_process_header_subpacket() 129 timestamp.as_int = 0; in el_process_header_subpacket() 143 el_print_timestamp(×tamp); in el_process_header_subpacket() 169 el_print_timestamp(union el_timestamp *timestamp) in el_print_timestamp() argument 171 if (timestamp->as_int) in el_print_timestamp() 174 timestamp->b.month, timestamp->b.day, in el_print_timestamp() 175 timestamp->b.year, timestamp->b.hour, in el_print_timestamp() [all …]
|
/Linux-v4.19/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 121 uint64_t timestamp; member 504 decoder->timestamp = 0; in intel_pt_get_data() 626 uint64_t timestamp; member 657 uint64_t timestamp; in intel_pt_calc_cyc_cb() local 697 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 700 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 706 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb() 710 data->timestamp = timestamp; in intel_pt_calc_cyc_cb() 723 timestamp = pkt_info->packet.payload | in intel_pt_calc_cyc_cb() 724 (data->timestamp & (0xffULL << 56)); in intel_pt_calc_cyc_cb() [all …]
|
/Linux-v4.19/include/trace/events/ |
D | power_cpu_migrate.h | 11 TP_PROTO(u64 timestamp, \ 14 TP_ARGS(timestamp, \ 23 __field(u64, timestamp ) 28 __entry->timestamp = timestamp; 33 (unsigned long long)__entry->timestamp,
|
D | vb2.h | 22 __field(u64, timestamp) 33 __entry->timestamp = vb->timestamp; 42 __entry->timestamp
|
D | v4l2.h | 112 __field(s64, timestamp) 133 __entry->timestamp = timeval_to_ns(&buf->timestamp); 156 __entry->timestamp, 189 __field(u64, timestamp) 210 __entry->timestamp = vb->timestamp; 230 __entry->timestamp,
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/ |
D | debugfs.c | 131 .timestamp = cpu_to_le64(fwrt->timestamp.seq++), in iwl_fw_send_timestamp_marker_cmd() 148 container_of(work, struct iwl_fw_runtime, timestamp.wk.work); in iwl_fw_timestamp_marker_wk() 149 unsigned long delay = fwrt->timestamp.delay; in iwl_fw_timestamp_marker_wk() 153 schedule_delayed_work(&fwrt->timestamp.wk, in iwl_fw_timestamp_marker_wk() 169 fwrt->timestamp.delay = msecs_to_jiffies(delay * 1000); in iwl_fw_trigger_timestamp() 171 schedule_delayed_work(&fwrt->timestamp.wk, in iwl_fw_trigger_timestamp() 172 round_jiffies_relative(fwrt->timestamp.delay)); in iwl_fw_trigger_timestamp() 196 INIT_DELAYED_WORK(&fwrt->timestamp.wk, iwl_fw_timestamp_marker_wk); in iwl_fwrt_dbgfs_register()
|
D | dbg.h | 233 fwrt->timestamp.delay = 0; in iwl_fw_cancel_timestamp() 234 cancel_delayed_work_sync(&fwrt->timestamp.wk); in iwl_fw_cancel_timestamp() 241 cancel_delayed_work_sync(&fwrt->timestamp.wk); in iwl_fw_suspend_timestamp() 246 if (!fwrt->timestamp.delay) in iwl_fw_resume_timestamp() 249 schedule_delayed_work(&fwrt->timestamp.wk, in iwl_fw_resume_timestamp() 250 round_jiffies_relative(fwrt->timestamp.delay)); in iwl_fw_resume_timestamp()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | base.c | 43 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger() 45 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger() 46 if (alarm->timestamp > nvkm_timer_read(tmr)) in nvkm_timer_alarm_trigger() 85 alarm->timestamp = nvkm_timer_read(tmr) + nsec; in nvkm_timer_alarm() 87 if (list->timestamp > alarm->timestamp) in nvkm_timer_alarm() 96 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm() 102 WARN_ON(alarm->timestamp <= nvkm_timer_read(tmr)); in nvkm_timer_alarm()
|
/Linux-v4.19/drivers/net/can/ |
D | rx-offload.c | 22 u32 timestamp; member 93 cb_pos->timestamp, cb_new->timestamp, in __skb_queue_add_sort() 94 cb_new->timestamp - cb_pos->timestamp, in __skb_queue_add_sort() 116 return cb_b->timestamp - cb_a->timestamp; in can_rx_offload_compare() 133 u32 timestamp; in can_rx_offload_offload_one() local 136 ×tamp, n); in can_rx_offload_offload_one() 144 ret = offload->mailbox_read(offload, cf, &cb->timestamp, n); in can_rx_offload_offload_one()
|
/Linux-v4.19/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_ring.c | 38 s64 timestamp, size_t nb) in inv_mpu6050_update_period() argument 60 delta = div_s64(timestamp - st->it_timestamp, divider); in inv_mpu6050_update_period() 75 st->data_timestamp = timestamp - interval; in inv_mpu6050_update_period() 79 st->it_timestamp = timestamp; in inv_mpu6050_update_period() 178 s64 timestamp; in inv_mpu6050_read_fifo() local 221 inv_mpu6050_update_period(st, pf->timestamp, nb); in inv_mpu6050_read_fifo() 232 timestamp = inv_mpu6050_get_timestamp(st); in inv_mpu6050_read_fifo() 233 iio_push_to_buffers_with_timestamp(indio_dev, data, timestamp); in inv_mpu6050_read_fifo()
|
/Linux-v4.19/Documentation/networking/ |
D | timestamping.txt | 7 Generates a timestamp for each incoming packet in (not necessarily 8 monotonic) system time. Reports the timestamp via recvmsg() in a 13 timestamp as struct timespec (nsec resolution). 16 Only for multicast:approximate transmit timestamp obtained by 17 reading the looped packet receive timestamp. 21 multiple timestamp sources, including hardware. Supports generating 30 same is true for all early receive timestamp options. 44 Supports multiple types of timestamp requests. As a result, this 52 The socket option configures timestamp generation for individual 53 sk_buffs (1.3.1), timestamp reporting to the socket's error [all …]
|
/Linux-v4.19/Documentation/trace/postprocess/ |
D | trace-vmscan-postprocess.pl | 260 my $timestamp = $_[0]; 262 my ($sec, $usec) = split (/\./, $timestamp); 270 my $timestamp; 280 $timestamp = $4; 305 $timestamp = timestamp_to_ms($timestamp); 307 $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN} = $timestamp; 326 $timestamp = timestamp_to_ms($timestamp); 328 my $latency = ($timestamp - $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN}); 343 $timestamp = timestamp_to_ms($timestamp); 345 $perprocesspid{$process_pid}->{STATE_KSWAPD_BEGIN} = $timestamp; [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fw_tracer.h | 100 u32 timestamp; member 124 u64 timestamp; member 129 u32 timestamp; member 147 u8 timestamp[0x7]; member 154 u8 timestamp[0x7]; member
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | link.c | 312 unsigned int timestamp = jiffies_to_msecs(jiffies); in ath_ani_calibrate() local 341 if ((timestamp - common->ani.longcal_timer) >= long_cal_interval) { in ath_ani_calibrate() 343 common->ani.longcal_timer = timestamp; in ath_ani_calibrate() 348 if ((timestamp - common->ani.shortcal_timer) >= short_cal_interval) { in ath_ani_calibrate() 350 common->ani.shortcal_timer = timestamp; in ath_ani_calibrate() 351 common->ani.resetcal_timer = timestamp; in ath_ani_calibrate() 354 if ((timestamp - common->ani.resetcal_timer) >= in ath_ani_calibrate() 358 common->ani.resetcal_timer = timestamp; in ath_ani_calibrate() 363 if ((timestamp - common->ani.checkani_timer) >= ah->config.ani_poll_interval) { in ath_ani_calibrate() 365 common->ani.checkani_timer = timestamp; in ath_ani_calibrate() [all …]
|
/Linux-v4.19/drivers/iio/common/st_sensors/ |
D | st_sensors_buffer.c | 60 s64 timestamp; in st_sensors_trigger_handler() local 69 timestamp = sdata->hw_timestamp; in st_sensors_trigger_handler() 71 timestamp = iio_get_time_ns(indio_dev); in st_sensors_trigger_handler() 78 timestamp); in st_sensors_trigger_handler()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_ptp.c | 125 static int qed_ptp_hw_read_rx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_rx_ts() argument 131 *timestamp = 0; in qed_ptp_hw_read_rx_ts() 139 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_TS_MSB); in qed_ptp_hw_read_rx_ts() 140 *timestamp <<= 32; in qed_ptp_hw_read_rx_ts() 141 *timestamp |= val; in qed_ptp_hw_read_rx_ts() 151 static int qed_ptp_hw_read_tx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_tx_ts() argument 157 *timestamp = 0; in qed_ptp_hw_read_tx_ts() 165 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_TS_MSB); in qed_ptp_hw_read_tx_ts() 166 *timestamp <<= 32; in qed_ptp_hw_read_tx_ts() 167 *timestamp |= val; in qed_ptp_hw_read_tx_ts()
|
/Linux-v4.19/drivers/net/wireless/intersil/orinoco/ |
D | scan.c | 82 u64 timestamp; in orinoco_add_hostscan_result() local 121 timestamp = 0; in orinoco_add_hostscan_result() 127 bss->a.bssid, timestamp, capability, in orinoco_add_hostscan_result() 141 u64 timestamp; in orinoco_add_extscan_result() local 154 timestamp = le64_to_cpu(bss->timestamp); in orinoco_add_extscan_result() 161 bss->bssid, timestamp, capability, in orinoco_add_extscan_result()
|
/Linux-v4.19/fs/udf/ |
D | ecma_167.h | 60 struct timestamp { struct 139 struct timestamp descCreationDateAndTime; 209 struct timestamp recordingDateAndTime; 340 struct timestamp recordingDateAndTime; 419 struct timestamp recordingDateAndTime; 555 struct timestamp accessTime; 556 struct timestamp modificationTime; 557 struct timestamp attrTime; 733 struct timestamp recordingDateAndTime; 780 struct timestamp accessTime; [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.h | 47 u64 timestamp) in mlx5_timecounter_cyc2time() argument 52 nsec = timecounter_cyc2time(&clock->tc, timestamp); in mlx5_timecounter_cyc2time() 69 u64 timestamp) in mlx5_timecounter_cyc2time() argument
|