Home
last modified time | relevance | path

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

12345678910>>...42

/linux-6.12.1/tools/perf/util/
Dordered-events.c21 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, const char *file_path) in ordered_events__queue() argument
[all …]
Dtime-utils.c419 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()
528 int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz) in timestamp__scnprintf_usec() argument
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dtrace.h79 __entry->info = ar->pdev->timestamp.info;
80 __entry->sync_tstmp_lo_us = ar->pdev->timestamp.sync_timestamp_hi_us;
81 __entry->sync_tstmp_hi_us = ar->pdev->timestamp.sync_timestamp_lo_us;
82 __entry->mlo_offset_lo = ar->pdev->timestamp.mlo_offset_lo;
83 __entry->mlo_offset_hi = ar->pdev->timestamp.mlo_offset_hi;
84 __entry->mlo_offset_clks = ar->pdev->timestamp.mlo_offset_clks;
85 __entry->mlo_comp_clks = ar->pdev->timestamp.mlo_comp_clks;
86 __entry->mlo_comp_timer = ar->pdev->timestamp.mlo_comp_timer;
124 __entry->info = ar->pdev->timestamp.info;
125 __entry->sync_tstmp_lo_us = ar->pdev->timestamp.sync_timestamp_hi_us;
[all …]
/linux-6.12.1/scripts/dtc/
Dof_unittest_expect251 $timestamp = "";
265 $timestamp = $line;
267 if ($timestamp =~ /^\[\s*[0-9]+\.[0-9]*\] /) {
268 ($timestamp, $null) = split(/]/, $line);
269 $timestamp = $timestamp . "] ";
272 $timestamp = "";
290 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
307 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
338 $line_num, $timestamp, $data;
364 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ptp.h11 static inline u64 otx2_ptp_convert_rx_timestamp(u64 timestamp) in otx2_ptp_convert_rx_timestamp() argument
13 return be64_to_cpu(*(__be64 *)&timestamp); in otx2_ptp_convert_rx_timestamp()
16 static inline u64 otx2_ptp_convert_tx_timestamp(u64 timestamp) in otx2_ptp_convert_tx_timestamp() argument
18 return timestamp; in otx2_ptp_convert_tx_timestamp()
21 static inline u64 cn10k_ptp_convert_timestamp(u64 timestamp) in cn10k_ptp_convert_timestamp() argument
23 return ((timestamp >> 32) * NSEC_PER_SEC) + (timestamp & 0xFFFFFFFFUL); in cn10k_ptp_convert_timestamp()
/linux-6.12.1/arch/alpha/kernel/
Derr_common.c91 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(&timestamp); 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-6.12.1/drivers/net/can/dev/
Drx-offload.c12 u32 timestamp; member
91 cb_pos->timestamp, cb_new->timestamp, in __skb_queue_add_sort()
92 cb_new->timestamp - cb_pos->timestamp, in __skb_queue_add_sort()
116 return cb_b->timestamp - cb_a->timestamp; in can_rx_offload_compare()
146 u32 timestamp; in can_rx_offload_offload_one() local
153 skb = offload->mailbox_read(offload, n, &timestamp, drop); in can_rx_offload_offload_one()
170 cb->timestamp = timestamp; in can_rx_offload_offload_one()
223 struct sk_buff *skb, u32 timestamp) in can_rx_offload_queue_timestamp() argument
234 cb->timestamp = timestamp; in can_rx_offload_queue_timestamp()
245 unsigned int idx, u32 timestamp, in can_rx_offload_get_echo_skb_queue_timestamp() argument
[all …]
/linux-6.12.1/include/trace/events/
Dpower_cpu_migrate.h11 TP_PROTO(u64 timestamp, \
14 TP_ARGS(timestamp, \
23 __field(u64, timestamp )
28 __entry->timestamp = timestamp;
33 (unsigned long long)__entry->timestamp,
Dfirewire.h78 …d_index, unsigned int generation, unsigned int scode, unsigned int status, unsigned int timestamp),
79 TP_ARGS(transaction, card_index, generation, scode, status, timestamp),
86 __field(u16, timestamp)
94 __entry->timestamp = timestamp;
103 __entry->timestamp
109 …d int generation, unsigned int scode, unsigned int status, unsigned int timestamp, const u32 *head…
110 TP_ARGS(transaction, card_index, generation, scode, status, timestamp, header, data, data_count),
117 __field(u16, timestamp)
127 __entry->timestamp = timestamp;
139 __entry->timestamp,
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.h66 u64 timestamp) in mlx5_timecounter_cyc2time() argument
74 nsec = timecounter_cyc2time(&timer->tc, timestamp); in mlx5_timecounter_cyc2time()
83 u64 timestamp) in mlx5_real_time_cyc2time() argument
85 u64 time = REAL_TIME_TO_NS(timestamp >> 32, timestamp & 0xFFFFFFFF); in mlx5_real_time_cyc2time()
98 u64 timestamp) in mlx5_timecounter_cyc2time() argument
104 u64 timestamp) in mlx5_real_time_cyc2time() argument
/linux-6.12.1/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c155 uint64_t timestamp; member
621 decoder->sample_timestamp = decoder->timestamp; in intel_pt_update_sample_time()
630 decoder->timestamp = 0; in intel_pt_reposition()
780 uint64_t timestamp; member
811 uint64_t timestamp; in intel_pt_calc_cyc_cb() local
858 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb()
861 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb()
867 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb()
871 data->timestamp = timestamp; in intel_pt_calc_cyc_cb()
884 timestamp = pkt_info->packet.payload | in intel_pt_calc_cyc_cb()
[all …]
/linux-6.12.1/drivers/net/can/rockchip/
Drockchip_canfd-timestamp.c19 struct sk_buff *skb, const u32 timestamp) in rkcanfd_skb_set_timestamp() argument
24 ns = timecounter_cyc2time(&priv->tc, timestamp); in rkcanfd_skb_set_timestamp()
34 priv = container_of(delayed_work, struct rkcanfd_priv, timestamp); in rkcanfd_timestamp_work()
37 schedule_delayed_work(&priv->timestamp, priv->work_delay_jiffies); in rkcanfd_timestamp_work()
76 INIT_DELAYED_WORK(&priv->timestamp, rkcanfd_timestamp_work); in rkcanfd_timestamp_init()
94 schedule_delayed_work(&priv->timestamp, priv->work_delay_jiffies); in rkcanfd_timestamp_start()
99 cancel_delayed_work(&priv->timestamp); in rkcanfd_timestamp_stop()
104 cancel_delayed_work_sync(&priv->timestamp); in rkcanfd_timestamp_stop_sync()
/linux-6.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c52 s64 timestamp; in inv_mpu6050_read_fifo() local
103 inv_sensors_timestamp_interrupt(&st->timestamp, 1, pf->timestamp); in inv_mpu6050_read_fifo()
104 inv_sensors_timestamp_apply_odr(&st->timestamp, fifo_period, 1, 0); in inv_mpu6050_read_fifo()
120 timestamp = inv_sensors_timestamp_pop(&st->timestamp); in inv_mpu6050_read_fifo()
121 iio_push_to_buffers_with_timestamp(indio_dev, data, timestamp); in inv_mpu6050_read_fifo()
/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample()
393 sample->timestamp) in cros_ec_sensor_ring_check_for_past_timestamp()
395 sample->timestamp = in cros_ec_sensor_ring_check_for_past_timestamp()
399 sample->timestamp; in cros_ec_sensor_ring_check_for_past_timestamp()
433 s64 a = in->timestamp; in cros_ec_sensor_ring_process_event()
434 s64 b = fifo_info->timestamp; in cros_ec_sensor_ring_process_event()
462 trace_cros_ec_sensorhub_timestamp(in->timestamp, in cros_ec_sensor_ring_process_event()
463 fifo_info->timestamp, in cros_ec_sensor_ring_process_event()
483 out->timestamp = *current_timestamp; in cros_ec_sensor_ring_process_event()
501 fifo_info->timestamp, in cros_ec_sensor_ring_process_event()
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dbase.c79 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-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-timestamp.c35 priv = container_of(delayed_work, struct mcp251xfd_priv, timestamp); in mcp251xfd_timestamp_work()
38 schedule_delayed_work(&priv->timestamp, in mcp251xfd_timestamp_work()
51 INIT_DELAYED_WORK(&priv->timestamp, mcp251xfd_timestamp_work); in mcp251xfd_timestamp_init()
57 schedule_delayed_work(&priv->timestamp, in mcp251xfd_timestamp_start()
63 cancel_delayed_work_sync(&priv->timestamp); in mcp251xfd_timestamp_stop()
/linux-6.12.1/include/linux/iio/common/
Dinv_sensors_timestamp.h60 int64_t timestamp; member
74 size_t sample_nb, int64_t timestamp);
78 ts->timestamp += ts->period; in inv_sensors_timestamp_pop()
79 return ts->timestamp; in inv_sensors_timestamp_pop()
91 ts->timestamp = 0; in inv_sensors_timestamp_reset()
/linux-6.12.1/drivers/gpu/drm/amd/include/
Dmes_v12_api_def.h258 uint64_t timestamp; member
269 uint64_t timestamp; member
338 uint64_t timestamp; member
371 uint64_t timestamp; member
398 uint64_t timestamp; member
409 uint64_t timestamp; member
424 uint64_t timestamp; member
459 uint64_t timestamp; member
481 uint64_t timestamp; member
534 uint64_t timestamp; member
[all …]
/linux-6.12.1/Documentation/networking/
Dtimestamping.rst14 Generates a timestamp for each incoming packet in (not necessarily
15 monotonic) system time. Reports the timestamp via recvmsg() in a
25 timestamp as struct timespec in nsec resolution.
33 Only for multicast:approximate transmit timestamp obtained by
34 reading the looped packet receive timestamp.
38 multiple timestamp sources, including hardware. Supports generating
48 same is true for all early receive timestamp options.
52 Always use SO_TIMESTAMP_NEW timestamp to always get timestamp in
65 Always use SO_TIMESTAMPNS_NEW timestamp to always get timestamp in
74 Supports multiple types of timestamp requests. As a result, this
[all …]
/linux-6.12.1/drivers/accel/habanalabs/common/
Dirq.c78 static void job_finish(struct hl_device *hdev, u32 cs_seq, struct hl_cq *cq, ktime_t timestamp) in job_finish() argument
85 job->timestamp = timestamp; in job_finish()
99 static void cs_finish(struct hl_device *hdev, u16 cs_seq, ktime_t timestamp) in cs_finish() argument
119 cs->completion_timestamp = timestamp; in cs_finish()
137 ktime_t timestamp = ktime_get(); in hl_irq_handler_cq() local
179 cs_finish(hdev, shadow_index, timestamp); in hl_irq_handler_cq()
181 job_finish(hdev, shadow_index, cq, timestamp); in hl_irq_handler_cq()
263 u64 timestamp; in handle_registration_node() local
300 timestamp = ktime_to_ns(intr->timestamp); in handle_registration_node()
302 *pend->ts_reg_info.timestamp_kernel_addr = timestamp; in handle_registration_node()
[all …]
/linux-6.12.1/drivers/iio/common/inv_sensors/
Dinv_sensors_timestamp.c115 delta = ts->it.lo - ts->timestamp; in inv_align_timestamp_it()
128 ts->timestamp += adjust; in inv_align_timestamp_it()
132 size_t sample_nb, int64_t timestamp) in inv_sensors_timestamp_interrupt() argument
145 it->up = timestamp; in inv_sensors_timestamp_interrupt()
154 if (ts->timestamp == 0) { in inv_sensors_timestamp_interrupt()
157 ts->timestamp = it->up - interval; in inv_sensors_timestamp_interrupt()
188 if (ts->timestamp != 0) { in inv_sensors_timestamp_apply_odr()
194 ts->timestamp = ts->it.up - interval; in inv_sensors_timestamp_apply_odr()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.h60 u64 timestamp; member
126 u32 timestamp; member
150 u64 timestamp; member
155 u32 timestamp; member
174 u8 timestamp[0x7]; member
181 u8 timestamp[0x7]; member
/linux-6.12.1/tools/perf/tests/shell/
Dtest_arm_coresight.sh207 arm_cs_etm_basic_test -e cs_etm/timestamp=0/ --per-thread
208 arm_cs_etm_basic_test -e cs_etm/timestamp=1/ --per-thread
209 arm_cs_etm_basic_test -e cs_etm/timestamp=0/ -a
210 arm_cs_etm_basic_test -e cs_etm/timestamp=1/ -a
211 arm_cs_etm_basic_test -e cs_etm/timestamp=0/
212 arm_cs_etm_basic_test -e cs_etm/timestamp=1/
/linux-6.12.1/drivers/s390/scsi/
Dzfcp_diag.c52 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup()
61 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup()
95 if (!time_after_eq(capture_timestamp, hdr->timestamp)) in zfcp_diag_update_xdata()
98 hdr->timestamp = capture_timestamp; in zfcp_diag_update_xdata()
209 if (!time_after_eq(now, hdr->timestamp)) in __zfcp_diag_test_buffer_age_isfresh()
212 if (jiffies_to_msecs(now - hdr->timestamp) >= diag->max_age) in __zfcp_diag_test_buffer_age_isfresh()
/linux-6.12.1/Documentation/trace/postprocess/
Dtrace-vmscan-postprocess.pl259 my $timestamp = $_[0];
261 my ($sec, $usec) = split (/\./, $timestamp);
269 my $timestamp;
279 $timestamp = $4;
304 $timestamp = timestamp_to_ms($timestamp);
306 $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN} = $timestamp;
325 $timestamp = timestamp_to_ms($timestamp);
327 my $latency = ($timestamp - $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN});
342 $timestamp = timestamp_to_ms($timestamp);
344 $perprocesspid{$process_pid}->{STATE_KSWAPD_BEGIN} = $timestamp;
[all …]

12345678910>>...42