/Linux-v5.4/tools/perf/util/ |
D | ordered-events.c | 21 u64 timestamp = new->timestamp; in queue_event() local 27 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); in queue_event() 31 oe->max_timestamp = timestamp; in queue_event() 40 if (last->timestamp <= timestamp) { in queue_event() 41 while (last->timestamp <= timestamp) { in queue_event() 45 oe->max_timestamp = timestamp; in queue_event() 52 while (last->timestamp > timestamp) { in queue_event() 172 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, in ordered_events__new_event() argument 179 new->timestamp = timestamp; in ordered_events__new_event() 195 u64 timestamp, u64 file_offset) in ordered_events__queue() argument [all …]
|
D | time-utils.c | 419 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp) in perf_time__skip_sample() argument 422 if (timestamp == 0) in perf_time__skip_sample() 426 if ((ptime->start && timestamp < ptime->start) || in perf_time__skip_sample() 427 (ptime->end && timestamp > ptime->end)) { in perf_time__skip_sample() 435 int num, u64 timestamp) in perf_time__ranges_skip_sample() argument 440 if ((!ptime_buf) || (timestamp == 0) || (num == 0)) in perf_time__ranges_skip_sample() 444 return perf_time__skip_sample(&ptime_buf[0], timestamp); in perf_time__ranges_skip_sample() 452 if (timestamp >= ptime->start && in perf_time__ranges_skip_sample() 453 (timestamp <= ptime->end || !ptime->end)) { in perf_time__ranges_skip_sample() 507 int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz) in timestamp__scnprintf_usec() argument [all …]
|
D | time-utils.h | 22 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp); 25 int num, u64 timestamp); 33 int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz); 34 int timestamp__scnprintf_nsec(u64 timestamp, char *buf, size_t sz);
|
D | thread.c | 171 static int __thread__set_namespaces(struct thread *thread, u64 timestamp, in __thread__set_namespaces() argument 182 if (timestamp && curr) { in __thread__set_namespaces() 189 curr->end_time = timestamp; in __thread__set_namespaces() 195 int thread__set_namespaces(struct thread *thread, u64 timestamp, in thread__set_namespaces() argument 201 ret = __thread__set_namespaces(thread, timestamp, event); in thread__set_namespaces() 238 u64 timestamp, bool exec) in ____thread__set_comm() argument 244 int err = comm__override(curr, str, timestamp, exec); in ____thread__set_comm() 248 new = comm__new(str, timestamp, exec); in ____thread__set_comm() 262 int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, in __thread__set_comm() argument 268 ret = ____thread__set_comm(thread, str, timestamp, exec); in __thread__set_comm() [all …]
|
D | thread.h | 76 int thread__set_namespaces(struct thread *thread, u64 timestamp, 79 int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp, 82 u64 timestamp) in thread__set_comm() argument 84 return __thread__set_comm(thread, comm, timestamp, false); in thread__set_comm() 94 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp, bool do_maps_clone);
|
/Linux-v5.4/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-v5.4/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 117 uint64_t timestamp; member 490 decoder->sample_timestamp = decoder->timestamp; in intel_pt_update_sample_time() 498 decoder->timestamp = 0; in intel_pt_reposition() 647 uint64_t timestamp; member 678 uint64_t timestamp; in intel_pt_calc_cyc_cb() local 722 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 725 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 731 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb() 735 data->timestamp = timestamp; in intel_pt_calc_cyc_cb() 748 timestamp = pkt_info->packet.payload | in intel_pt_calc_cyc_cb() [all …]
|
/Linux-v5.4/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-v5.4/drivers/net/can/ |
D | rx-offload.c | 11 u32 timestamp; member 82 cb_pos->timestamp, cb_new->timestamp, in __skb_queue_add_sort() 83 cb_new->timestamp - cb_pos->timestamp, in __skb_queue_add_sort() 107 return cb_b->timestamp - cb_a->timestamp; in can_rx_offload_compare() 153 u32 timestamp; in can_rx_offload_offload_one() local 156 ×tamp, n); in can_rx_offload_offload_one() 180 ret = offload->mailbox_read(offload, cf, &cb->timestamp, n); in can_rx_offload_offload_one() 268 struct sk_buff *skb, u32 timestamp) in can_rx_offload_queue_sorted() argument 280 cb->timestamp = timestamp; in can_rx_offload_queue_sorted() 293 unsigned int idx, u32 timestamp) in can_rx_offload_get_echo_skb() argument [all …]
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | base.c | 79 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger() 81 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger() 82 if (alarm->timestamp > nvkm_timer_read(tmr)) in nvkm_timer_alarm_trigger() 121 alarm->timestamp = nvkm_timer_read(tmr) + nsec; in nvkm_timer_alarm() 123 if (list->timestamp > alarm->timestamp) in nvkm_timer_alarm() 132 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm() 138 WARN_ON(alarm->timestamp <= nvkm_timer_read(tmr)); in nvkm_timer_alarm()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fw_tracer.h | 60 u64 timestamp; member 118 u32 timestamp; member 142 u64 timestamp; member 147 u32 timestamp; member 165 u8 timestamp[0x7]; member 172 u8 timestamp[0x7]; member
|
/Linux-v5.4/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 18 timestamp as struct timespec in nsec resolution. 26 Only for multicast:approximate transmit timestamp obtained by 27 reading the looped packet receive timestamp. 31 multiple timestamp sources, including hardware. Supports generating 40 same is true for all early receive timestamp options. 44 Always use SO_TIMESTAMP_NEW timestamp to always get timestamp in 56 Always use SO_TIMESTAMPNS_NEW timestamp to always get timestamp in 64 Supports multiple types of timestamp requests. As a result, this [all …]
|
/Linux-v5.4/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_ring.c | 30 s64 timestamp, size_t nb) in inv_mpu6050_update_period() argument 52 delta = div_s64(timestamp - st->it_timestamp, divider); in inv_mpu6050_update_period() 67 st->data_timestamp = timestamp - interval; in inv_mpu6050_update_period() 71 st->it_timestamp = timestamp; in inv_mpu6050_update_period() 170 s64 timestamp; in inv_mpu6050_read_fifo() local 225 inv_mpu6050_update_period(st, pf->timestamp, nb); in inv_mpu6050_read_fifo() 236 timestamp = inv_mpu6050_get_timestamp(st); in inv_mpu6050_read_fifo() 237 iio_push_to_buffers_with_timestamp(indio_dev, data, timestamp); in inv_mpu6050_read_fifo()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/ |
D | debugfs.c | 191 .timestamp = cpu_to_le64(fwrt->timestamp.seq++), in iwl_fw_send_timestamp_marker_cmd() 208 container_of(work, struct iwl_fw_runtime, timestamp.wk.work); in iwl_fw_timestamp_marker_wk() 209 unsigned long delay = fwrt->timestamp.delay; in iwl_fw_timestamp_marker_wk() 213 schedule_delayed_work(&fwrt->timestamp.wk, in iwl_fw_timestamp_marker_wk() 229 fwrt->timestamp.delay = msecs_to_jiffies(delay * 1000); in iwl_fw_trigger_timestamp() 231 schedule_delayed_work(&fwrt->timestamp.wk, in iwl_fw_trigger_timestamp() 232 round_jiffies_relative(fwrt->timestamp.delay)); in iwl_fw_trigger_timestamp() 253 u32 delay_secs = jiffies_to_msecs(fwrt->timestamp.delay) / 1000; in iwl_dbgfs_timestamp_marker_read() 326 INIT_DELAYED_WORK(&fwrt->timestamp.wk, iwl_fw_timestamp_marker_wk); in iwl_fwrt_dbgfs_register()
|
/Linux-v5.4/Documentation/trace/postprocess/ |
D | trace-vmscan-postprocess.pl | 261 my $timestamp = $_[0]; 263 my ($sec, $usec) = split (/\./, $timestamp); 271 my $timestamp; 281 $timestamp = $4; 306 $timestamp = timestamp_to_ms($timestamp); 308 $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN} = $timestamp; 327 $timestamp = timestamp_to_ms($timestamp); 329 my $latency = ($timestamp - $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN}); 344 $timestamp = timestamp_to_ms($timestamp); 346 $perprocesspid{$process_pid}->{STATE_KSWAPD_BEGIN} = $timestamp; [all …]
|
/Linux-v5.4/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-v5.4/drivers/iio/common/st_sensors/ |
D | st_sensors_buffer.c | 57 s64 timestamp; in st_sensors_trigger_handler() local 66 timestamp = sdata->hw_timestamp; in st_sensors_trigger_handler() 68 timestamp = iio_get_time_ns(indio_dev); in st_sensors_trigger_handler() 75 timestamp); in st_sensors_trigger_handler()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gmc.c | 267 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults() argument 276 stamp = max(timestamp, AMDGPU_GMC_FAULT_TIMEOUT + 1) - in amdgpu_gmc_filter_faults() 278 if (gmc->fault_ring[gmc->last_fault].timestamp >= stamp) in amdgpu_gmc_filter_faults() 284 while (fault->timestamp >= stamp) { in amdgpu_gmc_filter_faults() 290 tmp = fault->timestamp; in amdgpu_gmc_filter_faults() 294 if (fault->timestamp >= tmp) in amdgpu_gmc_filter_faults() 301 fault->timestamp = timestamp; in amdgpu_gmc_filter_faults()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_ptp.c | 127 static int qed_ptp_hw_read_rx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_rx_ts() argument 133 *timestamp = 0; in qed_ptp_hw_read_rx_ts() 141 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_TS_MSB); in qed_ptp_hw_read_rx_ts() 142 *timestamp <<= 32; in qed_ptp_hw_read_rx_ts() 143 *timestamp |= val; in qed_ptp_hw_read_rx_ts() 153 static int qed_ptp_hw_read_tx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_tx_ts() argument 159 *timestamp = 0; in qed_ptp_hw_read_tx_ts() 168 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_TS_MSB); in qed_ptp_hw_read_tx_ts() 169 *timestamp <<= 32; in qed_ptp_hw_read_tx_ts() 170 *timestamp |= val; in qed_ptp_hw_read_tx_ts()
|
/Linux-v5.4/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-v5.4/fs/udf/ |
D | ecma_167.h | 60 struct timestamp { struct 153 struct timestamp descCreationDateAndTime; 223 struct timestamp recordingDateAndTime; 354 struct timestamp recordingDateAndTime; 433 struct timestamp recordingDateAndTime; 569 struct timestamp accessTime; 570 struct timestamp modificationTime; 571 struct timestamp attrTime; 747 struct timestamp recordingDateAndTime; 794 struct timestamp accessTime; [all …]
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.h | 46 u64 timestamp) in mlx5_timecounter_cyc2time() argument 53 nsec = timecounter_cyc2time(&clock->tc, timestamp); in mlx5_timecounter_cyc2time() 68 u64 timestamp) in mlx5_timecounter_cyc2time() argument
|
/Linux-v5.4/drivers/isdn/mISDN/ |
D | clock.c | 134 mISDN_clock_update(struct mISDNclock *iclock, int samples, ktime_t *timestamp) in mISDN_clock_update() argument 153 if (timestamp) { /* timestamp must be set, if function call is delayed */ in mISDN_clock_update() 154 iclock_timestamp = *timestamp; in mISDN_clock_update() 160 if (timestamp) { /* timestamp must be set, if function call is delayed */ in mISDN_clock_update() 161 timestamp_now = *timestamp; in mISDN_clock_update()
|