Home
last modified time | relevance | path

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

12345678910>>...36

/linux-6.1.9/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 …]
Dtime-utils.h22 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp);
25 int num, u64 timestamp);
38 int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz);
39 int timestamp__scnprintf_nsec(u64 timestamp, char *buf, size_t sz);
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-timestamp.c17 u32 timestamp = 0; in mcp251xfd_timestamp_read() local
21 err = mcp251xfd_get_timestamp(priv, &timestamp); in mcp251xfd_timestamp_read()
27 return timestamp; in mcp251xfd_timestamp_read()
35 priv = container_of(delayed_work, struct mcp251xfd_priv, timestamp); in mcp251xfd_timestamp_work()
38 schedule_delayed_work(&priv->timestamp, in mcp251xfd_timestamp_work()
43 struct sk_buff *skb, u32 timestamp) in mcp251xfd_skb_set_timestamp() argument
48 ns = timecounter_cyc2time(&priv->tc, timestamp); in mcp251xfd_skb_set_timestamp()
63 INIT_DELAYED_WORK(&priv->timestamp, mcp251xfd_timestamp_work); in mcp251xfd_timestamp_init()
64 schedule_delayed_work(&priv->timestamp, in mcp251xfd_timestamp_init()
70 cancel_delayed_work_sync(&priv->timestamp); in mcp251xfd_timestamp_stop()
/linux-6.1.9/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.1.9/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.1.9/Documentation/devicetree/bindings/timestamp/
Dhardware-timestamps-common.yaml4 $id: http://devicetree.org/schemas/timestamp/hardware-timestamps-common.yaml#
7 title: Hardware timestamp providers
13 Some devices/SoCs have hardware timestamp engines (HTE) which can use
14 hardware means to timestamp entity in realtime. The entity could be anything
15 from GPIOs, IRQs, Bus and so on. The hardware timestamp engine present
20 pattern: "^timestamp(@.*|-[0-9a-f])?$"
22 "#timestamp-cells":
27 - "#timestamp-cells"
Dnvidia,tegra194-hte.yaml4 $id: http://devicetree.org/schemas/timestamp/nvidia,tegra194-hte.yaml#
16 timestamp (taken from system counter) in its internal hardware FIFO. It has
45 line/signal that it can enable/configure for the timestamp. It is u32
50 '#timestamp-cells':
63 - "#timestamp-cells"
69 tegra_hte_aon: timestamp@c1e0000 {
75 #timestamp-cells = <1>;
79 tegra_hte_lic: timestamp@3aa0000 {
85 #timestamp-cells = <1>;
Dhte-consumer.yaml4 $id: http://devicetree.org/schemas/timestamp/hte-consumer.yaml#
23 timestamp-names:
27 timestamp property.
30 timestamp-names: [ timestamps ]
38 timestamp-names = "hte-gpio", "hte-i2c";
/linux-6.1.9/scripts/dtc/
Dof_unittest_expect246 $timestamp = "";
258 $timestamp = $line;
260 if ($timestamp =~ /^\[\s*[0-9]+\.[0-9]*\] /) {
261 ($timestamp, $null) = split(/]/, $line);
262 $timestamp = $timestamp . "] ";
265 $timestamp = "";
283 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
300 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
330 $line_num, $timestamp, $data;
387 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
/linux-6.1.9/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()
244 unsigned int idx, u32 timestamp, in can_rx_offload_get_echo_skb() argument
[all …]
/linux-6.1.9/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,
/linux-6.1.9/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.1.9/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.1.9/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample()
365 sample->timestamp) in cros_ec_sensor_ring_check_for_past_timestamp()
367 sample->timestamp = in cros_ec_sensor_ring_check_for_past_timestamp()
371 sample->timestamp; in cros_ec_sensor_ring_check_for_past_timestamp()
405 s64 a = in->timestamp; in cros_ec_sensor_ring_process_event()
406 s64 b = fifo_info->timestamp; in cros_ec_sensor_ring_process_event()
434 trace_cros_ec_sensorhub_timestamp(in->timestamp, in cros_ec_sensor_ring_process_event()
435 fifo_info->timestamp, in cros_ec_sensor_ring_process_event()
455 out->timestamp = *current_timestamp; in cros_ec_sensor_ring_process_event()
473 fifo_info->timestamp, in cros_ec_sensor_ring_process_event()
[all …]
/linux-6.1.9/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c29 s64 timestamp, size_t nb) in inv_mpu6050_update_period() argument
51 delta = div_s64(timestamp - st->it_timestamp, divider); in inv_mpu6050_update_period()
66 st->data_timestamp = timestamp - interval; in inv_mpu6050_update_period()
70 st->it_timestamp = timestamp; in inv_mpu6050_update_period()
124 s64 timestamp; in inv_mpu6050_read_fifo() local
180 inv_mpu6050_update_period(st, pf->timestamp, nb); in inv_mpu6050_read_fifo()
191 timestamp = inv_mpu6050_get_timestamp(st); in inv_mpu6050_read_fifo()
192 iio_push_to_buffers_with_timestamp(indio_dev, st->data, timestamp); in inv_mpu6050_read_fifo()
/linux-6.1.9/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_timestamp.h46 int64_t timestamp; member
63 size_t sensor_nb, int64_t timestamp);
68 ts->timestamp += ts->period; in inv_icm42600_timestamp_pop()
69 return ts->timestamp; in inv_icm42600_timestamp_pop()
82 ts->timestamp = 0; in inv_icm42600_timestamp_reset()
Dinv_icm42600_timestamp.c113 size_t sensor_nb, int64_t timestamp) in inv_icm42600_timestamp_interrupt() argument
128 it->up = timestamp; in inv_icm42600_timestamp_interrupt()
140 if (ts->timestamp == 0) { in inv_icm42600_timestamp_interrupt()
143 ts->timestamp = it->up - interval; in inv_icm42600_timestamp_interrupt()
152 delta = it->lo - ts->timestamp; in inv_icm42600_timestamp_interrupt()
162 ts->timestamp += delta; in inv_icm42600_timestamp_interrupt()
187 if (ts->timestamp != 0) { in inv_icm42600_timestamp_apply_odr()
193 ts->timestamp = ts->it.up - interval; in inv_icm42600_timestamp_apply_odr()
/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.h60 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-6.1.9/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.1.9/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.1.9/Documentation/trace/postprocess/
Dtrace-vmscan-postprocess.pl261 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-6.1.9/drivers/net/wireless/ath/ath9k/
Dlink.c312 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-6.1.9/drivers/iio/common/st_sensors/
Dst_sensors_buffer.c54 s64 timestamp; in st_sensors_trigger_handler() local
63 timestamp = sdata->hw_timestamp; in st_sensors_trigger_handler()
65 timestamp = iio_get_time_ns(indio_dev); in st_sensors_trigger_handler()
72 timestamp); in st_sensors_trigger_handler()

12345678910>>...36