Home
last modified time | relevance | path

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

12345678910>>...42

/linux/tools/perf/util/
A Dordered-events.c21 u64 timestamp = new->timestamp; in queue_event() local
31 oe->max_timestamp = timestamp; in queue_event()
40 if (last->timestamp <= timestamp) { in queue_event()
41 while (last->timestamp <= timestamp) { in queue_event()
52 while (last->timestamp > timestamp) { in queue_event()
179 new->timestamp = timestamp; in ordered_events__new_event()
199 if (!timestamp || timestamp == ~0ULL) in ordered_events__queue()
268 u64 timestamp) in __ordered_events__flush() argument
305 oe->next_flush += (last->timestamp - first->timestamp) / 2; in __ordered_events__flush()
310 oe->next_flush = timestamp; in __ordered_events__flush()
[all …]
A Dtime-utils.c422 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()
452 if (timestamp >= ptime->start && in perf_time__ranges_skip_sample()
453 (timestamp <= ptime->end || !ptime->end)) { in perf_time__ranges_skip_sample()
530 u64 sec = timestamp / NSEC_PER_SEC; in timestamp__scnprintf_usec()
531 u64 usec = (timestamp % NSEC_PER_SEC) / NSEC_PER_USEC; in timestamp__scnprintf_usec()
538 u64 sec = timestamp / NSEC_PER_SEC, in timestamp__scnprintf_nsec()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
A Dtrace.h79 __entry->info = ar->pdev->timestamp.info;
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;
127 __entry->mlo_offset_lo = ar->pdev->timestamp.mlo_offset_lo;
128 __entry->mlo_offset_hi = ar->pdev->timestamp.mlo_offset_hi;
130 __entry->mlo_comp_clks = ar->pdev->timestamp.mlo_comp_clks;
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A 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/scripts/dtc/
A 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;
338 $line_num, $timestamp, $data;
411 $line_num, $timestamp;
412 printf "** %s%s%s\n", $line_num, $timestamp, $line;
[all …]
/linux/arch/alpha/kernel/
A 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/Documentation/devicetree/bindings/timestamp/
A 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-9]|[1-9][0-9]+))?$"
22 "#timestamp-cells":
27 - "#timestamp-cells"
A 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
48 line/signal that it can enable/configure for the timestamp. It is u32
60 '#timestamp-cells':
72 - "#timestamp-cells"
123 tegra_hte_aon: timestamp@c1e0000 {
128 #timestamp-cells = <1>;
132 tegra_hte_lic: timestamp@3aa0000 {
137 #timestamp-cells = <1>;
A 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/drivers/net/can/dev/
A 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/include/trace/events/
A 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,
A Dfirewire.h94 __entry->timestamp = timestamp;
103 __entry->timestamp
127 __entry->timestamp = timestamp;
139 __entry->timestamp,
176 __entry->timestamp,
262 __entry->timestamp = timestamp;
270 __entry->timestamp
290 __entry->timestamp = timestamp;
300 __entry->timestamp,
857 __entry->timestamp = timestamp;
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A 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/drivers/net/can/rockchip/
A 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/tools/perf/util/intel-pt-decoder/
A Dintel-pt-decoder.c867 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb()
871 data->timestamp = timestamp; in intel_pt_calc_cyc_cb()
889 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb()
895 data->timestamp = timestamp; in intel_pt_calc_cyc_cb()
1813 decoder->timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1824 timestamp = decoder->timestamp; in intel_pt_calc_tsc_timestamp()
1834 timestamp = decoder->timestamp; in intel_pt_calc_tsc_timestamp()
1842 decoder->timestamp = timestamp; in intel_pt_calc_tsc_timestamp()
1971 if (timestamp < decoder->timestamp) in intel_pt_calc_mtc_timestamp()
1975 decoder->timestamp = timestamp; in intel_pt_calc_mtc_timestamp()
[all …]
/linux/drivers/iio/imu/inv_mpu6050/
A 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/drivers/net/can/spi/mcp251xfd/
A 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/include/linux/iio/common/
A 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/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
A 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/drivers/platform/chrome/
A Dcros_ec_sensorhub_ring.c393 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()
463 fifo_info->timestamp, in cros_ec_sensor_ring_process_event()
501 fifo_info->timestamp, in cros_ec_sensor_ring_process_event()
523 out->timestamp = now; in cros_ec_sensor_ring_process_event()
747 s64 timestamp; in cros_ec_sensor_ring_spread_add_legacy() local
756 timestamp = out->timestamp; in cros_ec_sensor_ring_spread_add_legacy()
776 timestamp += time_period; in cros_ec_sensor_ring_spread_add_legacy()
[all …]
/linux/drivers/gpu/drm/amd/include/
A Dmes_v12_api_def.h258 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
624 uint64_t timestamp; member
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
A 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/tools/perf/tests/shell/
A 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/drivers/iio/common/inv_sensors/
A 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/Documentation/networking/
A Dtimestamping.rst25 timestamp as struct timespec in nsec resolution.
34 reading the looped packet receive timestamp.
52 Always use SO_TIMESTAMP_NEW timestamp to always get timestamp in
65 Always use SO_TIMESTAMPNS_NEW timestamp to always get timestamp in
127 timestamp taken immediately before send() from this timestamp. On
268 each containing just one timestamp.
416 Always use SO_TIMESTAMPING_NEW timestamp to always get timestamp in
468 case the timestamp is stored in ts[0].
694 PTP TX timestamp register (or sometimes a FIFO) where the timestamp
753 timestamp is available.
[all …]

Completed in 66 milliseconds

12345678910>>...42