Home
last modified time | relevance | path

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

12345678910>>...31

/linux/tools/perf/util/
H A 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 …]
H A 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 …]
H A Dpowerpc-vpadtl.c48 u64 timestamp; member
136 unsigned long long timestamp = 0; in powerpc_vpadtl_timestamp() local
153 timestamp = result; in powerpc_vpadtl_timestamp()
156 return timestamp; in powerpc_vpadtl_timestamp()
313 static int powerpc_vpadtl_run_decoder(struct powerpc_vpadtl_queue *vpaq, u64 *timestamp) in powerpc_vpadtl_run_decoder() argument
339 if (vpaq_timestamp > vpaq->timestamp) in powerpc_vpadtl_run_decoder()
340 vpaq->timestamp = vpaq_timestamp; in powerpc_vpadtl_run_decoder()
347 if (vpaq->timestamp >= *timestamp) { in powerpc_vpadtl_run_decoder()
348 *timestamp = vpaq->timestamp; in powerpc_vpadtl_run_decoder()
370 static int powerpc_vpadtl_process_queues(struct powerpc_vpadtl *vpa, u64 timestamp) in powerpc_vpadtl_process_queues() argument
[all …]
/linux/scripts/dtc/
H 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;
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/arch/alpha/kernel/
H 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/drivers/net/ethernet/marvell/octeontx2/nic/
H 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/drivers/net/can/dev/
H 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/
H A 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 …]
H 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,
/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-decoder.c155 uint64_t timestamp; member
362 * A TSC packet can slip past MTC packets so that the timestamp appears in intel_pt_decoder_new()
369 intel_pt_log("timestamp: mtc_shift %u\n", decoder->mtc_shift); in intel_pt_decoder_new()
370 intel_pt_log("timestamp: tsc_ctc_ratio_n %u\n", decoder->tsc_ctc_ratio_n); in intel_pt_decoder_new()
371 intel_pt_log("timestamp: tsc_ctc_ratio_d %u\n", decoder->tsc_ctc_ratio_d); in intel_pt_decoder_new()
372 intel_pt_log("timestamp: tsc_ctc_mult %u\n", decoder->tsc_ctc_mult); in intel_pt_decoder_new()
373 intel_pt_log("timestamp: tsc_slip %#x\n", decoder->tsc_slip); in intel_pt_decoder_new()
621 decoder->sample_timestamp = decoder->timestamp; in intel_pt_update_sample_time()
630 decoder->timestamp = 0; in intel_pt_reposition()
657 intel_pt_log("Reference timestamp in intel_pt_get_data()
780 uint64_t timestamp; global() member
811 uint64_t timestamp; intel_pt_calc_cyc_cb() local
1051 uint64_t timestamp, masked_timestamp; intel_pt_next_period() local
1089 uint64_t timestamp, masked_timestamp; intel_pt_sample_insn() local
1771 intel_pt_8b_tsc(uint64_t timestamp,uint64_t ref_timestamp) intel_pt_8b_tsc() argument
1788 intel_pt_time_in_range(struct intel_pt_decoder * decoder,uint64_t timestamp) intel_pt_time_in_range() argument
1802 uint64_t timestamp; intel_pt_calc_tsc_timestamp() local
1938 uint64_t timestamp; intel_pt_calc_mtc_timestamp() local
2009 uint64_t timestamp = decoder->cyc_ref_timestamp; intel_pt_calc_cyc_timestamp() local
4394 uint64_t timestamp; global() member
4449 intel_pt_fast_forward(struct intel_pt_decoder * decoder,uint64_t timestamp) intel_pt_fast_forward() argument
[all...]
/linux/drivers/net/can/rockchip/
H 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/drivers/dma-buf/
H A Ddma-fence-unwrap.c124 ktime_t timestamp; in __dma_fence_unwrap_merge() local
128 timestamp = ns_to_ktime(0); in __dma_fence_unwrap_merge()
138 if (ktime_after(t, timestamp)) in __dma_fence_unwrap_merge()
139 timestamp = t; in __dma_fence_unwrap_merge()
152 return dma_fence_allocate_private_stub(timestamp); in __dma_fence_unwrap_merge()
170 if (ktime_after(t, timestamp)) in __dma_fence_unwrap_merge()
171 timestamp = t; in __dma_fence_unwrap_merge()
196 tmp = dma_fence_allocate_private_stub(timestamp); in __dma_fence_unwrap_merge()
/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_ring.c52 s64 timestamp; in inv_mpu6050_read_fifo() local
104 inv_sensors_timestamp_interrupt(&st->timestamp, 1, pf->timestamp); in inv_mpu6050_read_fifo()
105 inv_sensors_timestamp_apply_odr(&st->timestamp, fifo_period, 1, 0); in inv_mpu6050_read_fifo()
118 timestamp = inv_sensors_timestamp_pop(&st->timestamp); in inv_mpu6050_read_fifo()
119 iio_push_to_buffers_with_timestamp(indio_dev, data, timestamp); in inv_mpu6050_read_fifo()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H 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/include/linux/iio/
H A Dbuffer.h34 void *data, int64_t timestamp) in iio_push_to_buffers_with_timestamp() argument
38 ((int64_t *)data)[ts_offset] = timestamp; in iio_push_to_buffers_with_timestamp()
62 s64 timestamp) in iio_push_to_buffers_with_ts() argument
69 return iio_push_to_buffers_with_timestamp(indio_dev, data, timestamp); in iio_push_to_buffers_with_ts()
74 int64_t timestamp);
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dlow_latency.c20 unsigned long timestamp) in iwl_mld_calc_low_latency() argument
37 time_after(timestamp, ll->window_start[mac_id] + in iwl_mld_calc_low_latency()
41 ll->window_start[mac_id] = timestamp; in iwl_mld_calc_low_latency()
94 unsigned long timestamp = jiffies; in iwl_mld_low_latency_wk() local
104 low_latency_active = iwl_mld_calc_low_latency(mld, timestamp); in iwl_mld_low_latency_wk()
107 mld->low_latency.timestamp = timestamp; in iwl_mld_low_latency_wk()
144 ll->timestamp = ts; in iwl_mld_low_latency_init()
165 ll->timestamp = jiffies; in iwl_mld_low_latency_restart_cleanup()
295 if (time_is_before_jiffies(mld->low_latency.timestamp + MLD_LL_PERIOD)) in iwl_mld_low_latency_update_counters()
317 ll->timestamp = ts; in iwl_mld_low_latency_restart()
/linux/drivers/net/can/spi/mcp251xfd/
H 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/drivers/accel/habanalabs/common/
H A 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
302 timestamp = ktime_to_ns(intr->timestamp); in handle_registration_node()
304 *pend->ts_reg_info.timestamp_kernel_addr = timestamp; in handle_registration_node()
[all …]
/linux/drivers/iio/common/inv_sensors/
H A Dinv_sensors_timestamp.c119 delta = ts->it.lo - ts->timestamp; in inv_align_timestamp_it()
132 ts->timestamp += adjust; in inv_align_timestamp_it()
136 size_t sample_nb, int64_t timestamp) in inv_sensors_timestamp_interrupt() argument
149 it->up = timestamp; in inv_sensors_timestamp_interrupt()
158 if (ts->timestamp == 0) { in inv_sensors_timestamp_interrupt()
161 ts->timestamp = it->up - interval; in inv_sensors_timestamp_interrupt()
192 if (ts->timestamp != 0) { in inv_sensors_timestamp_apply_odr()
198 ts->timestamp = ts->it.up - interval; in inv_sensors_timestamp_apply_odr()
/linux/Documentation/trace/postprocess/
H A 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 …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfw_tracer.h60 u64 timestamp; member
126 u32 timestamp; member
151 u64 timestamp; member
156 u32 timestamp; member
175 u8 timestamp[0x7]; member
182 u8 timestamp[0x7]; member
/linux/drivers/firewire/
H A Dcore-transaction.c76 t->callback.with_tstamp(card, RCODE_CANCELLED, t->packet.timestamp, 0, in fw_cancel_pending_transactions()
113 t->callback.with_tstamp(card, rcode, t->packet.timestamp, response_tstamp, NULL, 0, in close_transaction()
145 tstamp = transaction->packet.timestamp; in fw_cancel_transaction()
171 t->callback.with_tstamp(card, RCODE_CANCELLED, t->packet.timestamp, in split_transaction_timeout_callback()
196 packet->speed, status, packet->timestamp); in transmit_complete_callback()
200 close_transaction(t, card, RCODE_COMPLETE, packet->timestamp); in transmit_complete_callback()
210 compute_split_timeout_timestamp(card, packet->timestamp) & 0xffff; in transmit_complete_callback()
223 close_transaction(t, card, RCODE_BUSY, packet->timestamp); in transmit_complete_callback()
226 close_transaction(t, card, RCODE_DATA_ERROR, packet->timestamp); in transmit_complete_callback()
229 close_transaction(t, card, RCODE_TYPE_ERROR, packet->timestamp); in transmit_complete_callback()
[all …]
/linux/drivers/s390/scsi/
H A 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/drivers/thermal/
H A Dthermal_debugfs.c59 ktime_t timestamp; member
101 ktime_t timestamp; member
127 ktime_t timestamp; member
365 cdev_dbg->timestamp); in cdev_dt_seq_show()
436 ktime_t delta = ktime_sub(now, cdev_dbg->timestamp); in thermal_debug_cdev_state_update()
438 cdev_dbg->timestamp = now; in thermal_debug_cdev_state_update()
495 cdev_dbg->timestamp = ktime_get(); in thermal_debug_cdev_add()
567 tze->timestamp = now; in thermal_debugfs_tz_event_alloc()
656 trip_stats->timestamp = now; in thermal_debug_tz_trip_up()
665 ktime_t delta = ktime_sub(now, trip_stats->timestamp); in tz_episode_close_trip()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
H A Dlink.c341 unsigned int timestamp = jiffies_to_msecs(jiffies); in ath_ani_calibrate() local
370 if ((timestamp - common->ani.longcal_timer) >= long_cal_interval) { in ath_ani_calibrate()
372 common->ani.longcal_timer = timestamp; in ath_ani_calibrate()
377 if ((timestamp - common->ani.shortcal_timer) >= short_cal_interval) { in ath_ani_calibrate()
379 common->ani.shortcal_timer = timestamp; in ath_ani_calibrate()
380 common->ani.resetcal_timer = timestamp; in ath_ani_calibrate()
383 if ((timestamp - common->ani.resetcal_timer) >= in ath_ani_calibrate()
387 common->ani.resetcal_timer = timestamp; in ath_ani_calibrate()
392 if ((timestamp - common->ani.checkani_timer) >= ah->config.ani_poll_interval) { in ath_ani_calibrate()
394 common->ani.checkani_timer = timestamp; in ath_ani_calibrate()
[all …]

12345678910>>...31