/Zephyr-latest/tests/drivers/disk/disk_performance/src/ |
D | main.c | 89 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/ |
D | net_stats.h | 418 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/ |
D | zperf_udp_uploader.c | 51 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()
|
D | zperf_tcp_uploader.c | 45 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/ |
D | zbus.c | 126 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/ |
D | main.c | 53 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/ |
D | index.rst | 58 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/ |
D | fifo_mock.py | 25 end_time = time.time() + 2 28 if time.time() > end_time:
|
/Zephyr-latest/tests/lib/lockfree/src/ |
D | test_mpsc.c | 206 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()
|
D | test_spsc.c | 235 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/ |
D | tracing_ctf.h | 584 #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);
|
D | ctf_top.c | 694 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/ |
D | ppp_l2.c | 340 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/ |
D | canopen_program.py | 312 end_time = time.time() + timeout 319 if now > end_time:
|
/Zephyr-latest/tests/subsys/rtio/rtio_api/src/ |
D | test_rtio_api.c | 624 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/ |
D | tracing.h | 2107 #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/ |
D | test_runner.py | 529 end_time = time.time() 530 elapsed_time = end_time - start_time
|
/Zephyr-latest/subsys/tracing/user/ |
D | tracing_user.h | 444 #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/ |
D | tracing_sysview.h | 743 #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/ |
D | tracing_test.h | 749 #define sys_port_trace_net_rx_time(pkt, end_time) argument 750 #define sys_port_trace_net_tx_time(pkt, end_time) argument
|