Home
last modified time | relevance | path

Searched refs:end_time (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/drivers/disk/disk_performance/src/
Dmain.c89 timing_t start_time, end_time; in read_helper() local
103 end_time = timing_counter_get(); in read_helper()
107 cycles = timing_cycles_get(&start_time, &end_time); in read_helper()
142 timing_t start_time, end_time; in write_helper() local
162 end_time = timing_counter_get(); in write_helper()
166 cycles = timing_cycles_get(&start_time, &end_time); in write_helper()
203 timing_t start_time, end_time; in ZTEST() local
231 end_time = timing_counter_get(); in ZTEST()
233 cycles = timing_cycles_get(&start_time, &end_time); in ZTEST()
247 timing_t start_time, end_time; in ZTEST() local
[all …]
/Zephyr-latest/subsys/net/ip/
Dnet_stats.h418 uint32_t end_time) in net_stats_update_tx_time() argument
420 uint32_t diff = end_time - start_time; in net_stats_update_tx_time()
427 #define net_stats_update_tx_time(iface, start_time, end_time) argument
451 uint32_t end_time) in net_stats_update_rx_time() argument
453 uint32_t diff = end_time - start_time; in net_stats_update_rx_time()
460 #define net_stats_update_rx_time(iface, start_time, end_time) argument
505 uint32_t end_time) in net_stats_update_tc_tx_time() argument
507 uint32_t diff = end_time - start_time; in net_stats_update_tc_tx_time()
514 net_stats_update_tx_time(iface, start_time, end_time); in net_stats_update_tc_tx_time()
517 #define net_stats_update_tc_tx_time(iface, tc, start_time, end_time) argument
[all …]
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_udp_uploader.c51 uint64_t end_time, in zperf_upload_fin() argument
60 uint32_t secs = k_ticks_to_ms_ceil32(end_time) / 1000U; in zperf_upload_fin()
61 uint32_t usecs = k_ticks_to_us_ceil32(end_time) - secs * USEC_PER_SEC; in zperf_upload_fin()
152 int64_t start_time, end_time; in udp_upload() local
171 end_time = start_time + k_ms_to_ticks_ceil64(duration_in_ms); in udp_upload()
255 } while (last_loop_time < end_time); in udp_upload()
257 end_time = k_uptime_ticks(); in udp_upload()
270 ret = zperf_upload_fin(sock, nb_packets, end_time, packet_size, in udp_upload()
279 k_ticks_to_us_ceil64(end_time - start_time); in udp_upload()
Dzperf_tcp_uploader.c45 int64_t start_time, end_time; in tcp_upload() local
100 end_time = k_uptime_ticks(); in tcp_upload()
105 k_ticks_to_us_ceil64(end_time - start_time); in tcp_upload()
/Zephyr-latest/subsys/zbus/
Dzbus.c126 const struct zbus_observer *obs, k_timepoint_t end_time, in _zbus_notify_observer() argument
135 return k_msgq_put(obs->queue, &chan, sys_timepoint_timeout(end_time)); in _zbus_notify_observer()
139 struct net_buf *cloned_buf = net_buf_clone(buf, sys_timepoint_timeout(end_time)); in _zbus_notify_observer()
157 static inline int _zbus_vded_exec(const struct zbus_channel *chan, k_timepoint_t end_time) in _zbus_vded_exec() argument
172 buf = _zbus_create_net_buf(pool, zbus_chan_msg_size(chan), sys_timepoint_timeout(end_time)); in _zbus_vded_exec()
199 err = _zbus_notify_observer(chan, obs, end_time, buf); in _zbus_vded_exec()
227 err = _zbus_notify_observer(chan, obs, end_time, buf); in _zbus_vded_exec()
388 k_timepoint_t end_time = sys_timepoint_calc(timeout); in zbus_chan_pub() local
408 err = _zbus_vded_exec(chan, end_time); in zbus_chan_pub()
446 k_timepoint_t end_time = sys_timepoint_calc(timeout); in zbus_chan_notify() local
[all …]
/Zephyr-latest/tests/boards/native_sim/rtc/src/
Dmain.c53 uint64_t end_time, start_time; in ZTEST() local
90 end_time = get_host_us_time(); in ZTEST()
91 diff = end_time - start_time; in ZTEST()
/Zephyr-latest/doc/kernel/timing_functions/
Dindex.rst58 timing_t start_time, end_time;
69 end_time = timing_counter_get();
71 total_cycles = timing_cycles_get(&start_time, &end_time);
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/
Dfifo_mock.py25 end_time = time.time() + 2
28 if time.time() > end_time:
/Zephyr-latest/tests/lib/lockfree/src/
Dtest_mpsc.c206 timing_t start_time, end_time; in ZTEST() local
224 end_time = timing_counter_get(); in ZTEST()
226 uint64_t cycles = timing_cycles_get(&start_time, &end_time); in ZTEST()
Dtest_spsc.c235 timing_t start_time, end_time; in ZTEST() local
257 end_time = timing_counter_get(); in ZTEST()
259 uint64_t cycles = timing_cycles_get(&start_time, &end_time); in ZTEST()
/Zephyr-latest/subsys/tracing/ctf/
Dtracing_ctf.h584 #define sys_port_trace_net_rx_time(pkt, end_time) \ argument
585 sys_trace_net_rx_time(pkt, end_time)
586 #define sys_port_trace_net_tx_time(pkt, end_time) \ argument
587 sys_trace_net_tx_time(pkt, end_time)
596 void sys_trace_net_rx_time(struct net_pkt *pkt, uint32_t end_time);
597 void sys_trace_net_tx_time(struct net_pkt *pkt, uint32_t end_time);
Dctf_top.c694 void sys_trace_net_rx_time(struct net_pkt *pkt, uint32_t end_time) in sys_trace_net_rx_time() argument
709 diff = end_time - net_pkt_create_time(pkt); in sys_trace_net_rx_time()
722 void sys_trace_net_tx_time(struct net_pkt *pkt, uint32_t end_time) in sys_trace_net_tx_time() argument
737 diff = end_time - net_pkt_create_time(pkt); in sys_trace_net_tx_time()
/Zephyr-latest/subsys/net/l2/ppp/
Dppp_l2.c340 uint32_t end_time = k_cycle_get_32(); in echo_reply_handler() local
343 time_diff = end_time - ctx->shell.echo_req_data; in echo_reply_handler()
/Zephyr-latest/scripts/west_commands/runners/
Dcanopen_program.py312 end_time = time.time() + timeout
319 if now > end_time:
/Zephyr-latest/tests/subsys/rtio/rtio_api/src/
Dtest_rtio_api.c624 timing_t start_time, end_time; in _test_rtio_throughput() local
641 end_time = timing_counter_get(); in _test_rtio_throughput()
643 uint64_t cycles = timing_cycles_get(&start_time, &end_time); in _test_rtio_throughput()
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h2107 #define sys_port_trace_net_rx_time(pkt, end_time) argument
2114 #define sys_port_trace_net_tx_time(pkt, end_time) argument
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_runner.py529 end_time = time.time()
530 elapsed_time = end_time - start_time
/Zephyr-latest/subsys/tracing/user/
Dtracing_user.h444 #define sys_port_trace_net_rx_time(pkt, end_time) argument
445 #define sys_port_trace_net_tx_time(pkt, end_time) argument
/Zephyr-latest/subsys/tracing/sysview/
Dtracing_sysview.h743 #define sys_port_trace_net_rx_time(pkt, end_time) argument
744 #define sys_port_trace_net_tx_time(pkt, end_time) argument
/Zephyr-latest/subsys/tracing/test/
Dtracing_test.h749 #define sys_port_trace_net_rx_time(pkt, end_time) argument
750 #define sys_port_trace_net_tx_time(pkt, end_time) argument