Home
last modified time | relevance | path

Searched refs:timestamp (Results 51 – 75 of 223) sorted by relevance

123456789

/Zephyr-latest/samples/kernel/metairq_dispatch/src/
Dmsgdev.h49 uint32_t timestamp; member
Dmain.c62 m.metairq_latency = k_cycle_get_32() - m.timestamp; in metairq_fn()
217 start - m.timestamp, m.proc_cyc, dur); in thread_fn()
221 record_latencies(&m, start - m.timestamp); in thread_fn()
/Zephyr-latest/tests/subsys/logging/log_frontend_stmesp_demux/src/
Dmain.c48 zassert_equal(exp_ts, packet.log->timestamp, "%d: Unexpected ts %llu/%x (exp:%llu/%x)", in claim_packet()
49 line, packet.log->timestamp, packet.log->timestamp, exp_ts, exp_ts); in claim_packet()
72 zassert_equal(exp_ts, packet.trace_point->timestamp, in claim_trace_point()
74 packet.trace_point->timestamp, packet.trace_point->timestamp, exp_ts, exp_ts); in claim_trace_point()
100 zassert_equal(exp_ts, packet.hw_event->timestamp, "%d: Unexpected ts %llu/%x (exp:%llu/%x)", in claim_hw_event()
101 line, packet.hw_event->timestamp, packet.hw_event->timestamp, exp_ts, exp_ts); in claim_hw_event()
/Zephyr-latest/drivers/ethernet/
Deth_stm32_hal.c312 void HAL_ETH_TxPtpCallback(uint32_t *buff, ETH_TimeStampTypeDef *timestamp) in HAL_ETH_TxPtpCallback() argument
316 ctx->pkt->timestamp.second = timestamp->TimeStampHigh; in HAL_ETH_TxPtpCallback()
317 ctx->pkt->timestamp.nanosecond = timestamp->TimeStampLow; in HAL_ETH_TxPtpCallback()
516 pkt->timestamp.second = last_dma_tx_desc->TimeStampHigh; in eth_tx()
517 pkt->timestamp.nanosecond = last_dma_tx_desc->TimeStampLow; in eth_tx()
520 pkt->timestamp.second = UINT64_MAX; in eth_tx()
521 pkt->timestamp.nanosecond = UINT32_MAX; in eth_tx()
565 struct net_ptp_time timestamp; in eth_rx() local
570 timestamp.second = UINT64_MAX; in eth_rx()
571 timestamp.nanosecond = UINT32_MAX; in eth_rx()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dgnss.h105 typedef int (*gnss_get_latest_timepulse_t)(const struct device *dev, k_ticks_t *timestamp);
401 __syscall int gnss_get_latest_timepulse(const struct device *dev, k_ticks_t *timestamp);
404 k_ticks_t *timestamp) in z_impl_gnss_get_latest_timepulse() argument
412 return api->get_latest_timepulse(dev, timestamp); in z_impl_gnss_get_latest_timepulse()
/Zephyr-latest/doc/services/debugging/
Dmipi_stp_decoder.rst10 optional timestamp. There are opcodes for data (8, 16, 32, 64 bit data marked/not marked, with or
11 without timestamp), stream recognition (master and channel), synchronization (ASYNC opcode) and
23 Decoder has internal state since there are dependency between opcodes (e.g. timestamp can be
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/
Dclient.c33 int64_t timestamp; member
97 time_stamp_ref = entry->timestamp; in smp_client_transport_work_fn()
102 time_stamp_cmp = entry->timestamp - time_stamp_ref; in smp_client_transport_work_fn()
113 entry->timestamp = time_stamp_ref + CONFIG_SMP_CMD_RETRY_TIME; in smp_client_transport_work_fn()
320 cmd_req->timestamp = k_uptime_get() + CONFIG_SMP_CMD_RETRY_TIME; in smp_client_send_cmd()
/Zephyr-latest/samples/modules/canopennode/src/
Dmain.c205 int64_t timestamp; in main() local
263 timestamp = k_uptime_get(); in main()
288 elapsed = (uint32_t)k_uptime_delta(&timestamp); in main()
/Zephyr-latest/subsys/net/lib/ptp/
Dmsg.c54 msg->timestamp.protocol._sec.high = ntohs(ts->seconds_high); in msg_timestamp_post_recv()
55 msg->timestamp.protocol._sec.low = ntohl(ts->seconds_low); in msg_timestamp_post_recv()
56 msg->timestamp.protocol.nanosecond = ntohl(ts->nanoseconds); in msg_timestamp_post_recv()
321 msg->timestamp.host.second = (uint64_t)(current / MSEC_PER_SEC); in ptp_msg_pre_send()
322 msg->timestamp.host.nanosecond = (current % MSEC_PER_SEC) * NSEC_PER_MSEC; in ptp_msg_pre_send()
414 msg->timestamp.host.second = (uint64_t)(current / MSEC_PER_SEC); in ptp_msg_post_recv()
415 msg->timestamp.host.nanosecond = (current % MSEC_PER_SEC) * NSEC_PER_MSEC; in ptp_msg_post_recv()
/Zephyr-latest/tests/kernel/context/src/
Dmain.c875 int64_t timestamp; in thread_sleep() local
881 timestamp = k_uptime_get(); in thread_sleep()
883 timestamp = k_uptime_get() - timestamp; in thread_sleep()
887 if (timestamp < timeout || timestamp > timeout + slop) { in thread_sleep()
888 TC_ERROR("timestamp out of range, got %d\n", (int)timestamp); in thread_sleep()
/Zephyr-latest/include/zephyr/logging/
Dlog_output_dict.h38 log_timestamp_t timestamp; member
Dlog_output.h162 log_timestamp_t timestamp,
256 uint64_t log_output_timestamp_to_us(log_timestamp_t timestamp);
/Zephyr-latest/drivers/misc/timeaware_gpio/
Dtimeaware_gpio_intel.c176 uint64_t *timestamp, in tgpio_intel_read_ts_ec() argument
183 *timestamp = sys_read32(regs(dev) + TCV31_0); in tgpio_intel_read_ts_ec()
184 *timestamp += ((uint64_t)sys_read32(regs(dev) + TCV63_32) << UINT32_SIZE); in tgpio_intel_read_ts_ec()
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/
Disoal_test_common.h85 uint8_t length, uint64_t payload_number, uint32_t timestamp,
91 uint32_t timestamp, uint8_t status, struct isoal_pdu_rx *pdu_meta);
/Zephyr-latest/doc/connectivity/networking/api/
Dptp_time.rst15 format (nanoseconds). The extended timestamp format can store the
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_rtio_stream.c116 .timestamp = drv_data->timestamp, in icm42688_fifo_count_cb()
252 data->header.timestamp = drv_data->timestamp; in icm42688_int_status_cb()
300 drv_data->timestamp = k_ticks_to_ns_floor64(k_uptime_ticks()); in icm42688_fifo_event()
Dicm42688_decoder.h14 uint64_t timestamp; member
/Zephyr-latest/tests/crypto/mbedtls/
DCMakeLists.txt7 set(output_file ${PROJECT_BINARY_DIR}/mbedtls-check.timestamp)
/Zephyr-latest/soc/intel/intel_adsp/ace/
DCMakeLists.txt14 timestamp.c
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c14 int64_t timestamp; member
87 tdata.timestamp = k_uptime_get(); in init_timer_data()
116 int64_t interval = k_uptime_delta(&tdata.timestamp); in duration_expire()
296 tdata.timestamp = k_uptime_get(); in ZTEST_USER()
393 tdata.timestamp = k_uptime_get(); in ZTEST_USER()
400 delta = k_uptime_delta(&tdata.timestamp); in ZTEST_USER()
565 tdata.timestamp = k_uptime_get(); in ZTEST_USER()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_decoder.h16 uint64_t timestamp; member
Dlsm6dsv16x_decoder.c288 edata->header.timestamp - in lsm6dsv16x_decode_fifo()
292 edata->header.timestamp - in lsm6dsv16x_decode_fifo()
297 edata->header.timestamp - in lsm6dsv16x_decode_fifo()
304 edata->header.timestamp - in lsm6dsv16x_decode_fifo()
572 out->header.base_timestamp_ns = edata->header.timestamp; in lsm6dsv16x_decode_sample()
595 out->header.base_timestamp_ns = edata->header.timestamp; in lsm6dsv16x_decode_sample()
616 out->header.base_timestamp_ns = edata->header.timestamp; in lsm6dsv16x_decode_sample()
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h145 struct net_ptp_time timestamp; member
1119 return &pkt->timestamp; in net_pkt_timestamp()
1123 struct net_ptp_time *timestamp) in net_pkt_set_timestamp() argument
1125 pkt->timestamp.second = timestamp->second; in net_pkt_set_timestamp()
1126 pkt->timestamp.nanosecond = timestamp->nanosecond; in net_pkt_set_timestamp()
1131 return net_ptp_time_to_ns(&pkt->timestamp); in net_pkt_timestamp_ns()
1134 static inline void net_pkt_set_timestamp_ns(struct net_pkt *pkt, net_time_t timestamp) in net_pkt_set_timestamp_ns() argument
1136 pkt->timestamp = ns_to_net_ptp_time(timestamp); in net_pkt_set_timestamp_ns()
1147 struct net_ptp_time *timestamp) in net_pkt_set_timestamp() argument
1150 ARG_UNUSED(timestamp); in net_pkt_set_timestamp()
[all …]
/Zephyr-latest/arch/arc/core/
DCMakeLists.txt13 timestamp.c
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c158 hdr->timestamp = data->timestamp; in adxl345_process_fifo_samples_cb()
324 rx_data->timestamp = data->timestamp; in adxl345_process_status1_cb()
365 data->timestamp = k_ticks_to_ns_floor64(k_uptime_ticks()); in adxl345_stream_irq_handler()

123456789